#BB171F

Closest named color: Scarlet (#BE0119). oklch(50.7% 0.195 26.2), rgb(187, 23, 31).

Aa

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

About this color

#BB171F is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.195 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Scarlet (#BE0119), ΔE 0.010 away. White text reads best on it, at 6.45:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.195)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.25:1
White text6.45:1

Values

HEX#BB171F
RGBrgb(187, 23, 31)
HSLhsl(357, 78%, 41%)
OKLCHoklch(50.7% 0.195 26.2)

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 #BB171F 6.45:1 AA Lc -85.2 Fine for body text
Black text on #BB171F 3.25:1 AA large text Lc 24.1 Dividers and decoration only
#BB171F text on white 6.45:1 AA Lc 80.0 Fine for body text
#BB171F text on black 3.25: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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FACDC7

    oklch(88.6% 0.052 27)

  4. Step 300

    300

    #F8A9A1

    oklch(80.9% 0.095 25.8)

  5. Step 400

    400

    #F0776D

    oklch(70.7% 0.151 26.4)

  6. Step 500

    500

    #E74C46

    oklch(63.2% 0.192 26.4)

  7. Step 600

    600

    #D22127

    oklch(55.6% 0.209 26.3)

  8. Step 700

    700 (this color)

    #BB171F

    oklch(50.7% 0.195 26.2)

  9. Step 800

    800

    #931318

    oklch(42.6% 0.161 26.1)

  10. Step 900

    900

    #761B1A

    oklch(37.6% 0.126 26.1)

  11. Step 950

    950

    #461210

    oklch(27% 0.08 26.2)

Export this scale for Tailwind in the Tailwind colors tool

#BB171F 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)#51481D0.213
Deuteranopia (no green cones)#786B160.193
Tritanopia (no blue cones)#CF001D0.039
Achromatopsia (no color)#5E5E5E0.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #BB171F

    #BB171F

    oklch(50.7% 0.195 26.2)

  • #00737E

    #00737E

    oklch(50.7% 0.087 206.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BB171F

    #BB171F

    oklch(50.7% 0.195 26.2)

  • #B21768

    #B21768

    oklch(50.6% 0.194 356.2)

  • #994F00

    #994F00

    oklch(50.8% 0.124 56.4)

Open the analogous palette in the generator

Split complementary

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

  • #BB171F

    #BB171F

    oklch(50.7% 0.195 26.2)

  • #007663

    #007663

    oklch(50.6% 0.094 176.3)

  • #006D9B

    #006D9B

    oklch(50.6% 0.11 236.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BB171F

    #BB171F

    oklch(50.7% 0.195 26.2)

  • #007B26

    #007B26

    oklch(50.7% 0.154 146.2)

  • #3157D2

    #3157D2

    oklch(50.6% 0.194 266.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BB171F

    #BB171F

    oklch(50.7% 0.195 26.2)

  • #626D00

    #626D00

    oklch(50.8% 0.117 116.5)

  • #00737E

    #00737E

    oklch(50.7% 0.087 206.4)

  • #7341C5

    #7341C5

    oklch(50.7% 0.195 296.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #BB171F 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.