#B31F67

Closest named color: Raspberry (#B00149). oklch(51.2% 0.189 357.5), rgb(179, 31, 103).

Aa

White text reads best on this color (6.34:1).

About this color

#B31F67 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.189 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.045 away. White text reads best on it, at 6.34:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.30:1
White text6.34:1

Values

HEX#B31F67
RGBrgb(179, 31, 103)
HSLhsl(331, 70%, 41%)
OKLCHoklch(51.2% 0.189 357.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B31F67 6.34:1 AA Lc -85.2 Fine for body text
Black text on #B31F67 3.30:1 AA large text Lc 24.1 Dividers and decoration only
#B31F67 text on white 6.34:1 AA Lc 80.0 Fine for body text
#B31F67 text on black 3.30:1 AA large text Lc -21.9 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F6CCD9

    oklch(88.5% 0.05 357.6)

  4. Step 300

    300

    #F2A8C1

    oklch(80.9% 0.092 357.4)

  5. Step 400

    400

    #E776A1

    oklch(70.7% 0.147 357.4)

  6. Step 500

    500

    #DC4C8A

    oklch(63% 0.187 357.4)

  7. Step 600

    600

    #C72674

    oklch(55.6% 0.203 357.4)

  8. Step 700

    700 (this color)

    #B31F67

    oklch(51.2% 0.189 357.5)

  9. Step 800

    800

    #8B174F

    oklch(42.6% 0.156 357.6)

  10. Step 900

    900

    #701C42

    oklch(37.6% 0.122 357.2)

  11. Step 950

    950

    #421227

    oklch(26.9% 0.078 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#B31F67 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#424E690.215
Deuteranopia (no green cones)#6B69640.190
Tritanopia (no blue cones)#C200410.062
Achromatopsia (no color)#5F5F5F0.191

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B31F67

    #B31F67

    oklch(51.2% 0.189 357.5)

  • #007866

    #007866

    oklch(51.2% 0.095 177.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31F67

    #B31F67

    oklch(51.2% 0.189 357.5)

  • #9C309C

    #9C309C

    oklch(51.2% 0.189 327.9)

  • #BB211F

    #BB211F

    oklch(51.3% 0.189 27.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B31F67

    #B31F67

    oklch(51.2% 0.189 357.5)

  • #007C2D

    #007C2D

    oklch(51.1% 0.15 147.5)

  • #007480

    #007480

    oklch(51.1% 0.088 207.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31F67

    #B31F67

    oklch(51.2% 0.189 357.5)

  • #626F00

    #626F00

    oklch(51.3% 0.119 117.5)

  • #006E9F

    #006E9F

    oklch(51.1% 0.113 237.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31F67

    #B31F67

    oklch(51.2% 0.189 357.5)

  • #806200

    #806200

    oklch(51.2% 0.105 87.6)

  • #007866

    #007866

    oklch(51.2% 0.095 177.4)

  • #3859D1

    #3859D1

    oklch(51.2% 0.189 267.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B31F67, closest first.

No curated palette has a color within ΔE 0.04 of #B31F67.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B31F67 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.