#B20017

Closest named color: Rufous (#AE2012). oklch(48.1% 0.195 25.9), rgb(178, 0, 23).

Aa

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

About this color

#B20017 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.195 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.022 away. White text reads best on it, at 7.22:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.195)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.90:1
White text7.22:1

Values

HEX#B20017
RGBrgb(178, 0, 23)
HSLhsl(352, 100%, 35%)
OKLCHoklch(48.1% 0.195 25.9)

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 #B20017 7.22:1 AAA Lc -87.5 Fine for body text
Black text on #B20017 2.90:1 Fails Lc 21.6 Dividers and decoration only
#B20017 text on white 7.22:1 AAA Lc 82.4 Fine for body text
#B20017 text on black 2.90:1 Fails Lc -19.5 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

    #F0776E

    oklch(70.7% 0.151 25.9)

  6. Step 500

    500

    #E74B47

    oklch(63.1% 0.193 25.8)

  7. Step 600

    600

    #D22028

    oklch(55.5% 0.209 25.9)

  8. Step 700

    700 (this color)

    #B20017

    oklch(48.1% 0.195 25.9)

  9. Step 800

    800

    #931219

    oklch(42.6% 0.161 25.7)

  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

#B20017 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)#4940150.215
Deuteranopia (no green cones)#70630A0.194
Tritanopia (no blue cones)#C5000F0.041
Achromatopsia (no color)#5757570.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #B20017

    #B20017

    oklch(48.1% 0.195 25.9)

  • #006B74

    #006B74

    oklch(48.2% 0.082 205)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B20017

    #B20017

    oklch(48.1% 0.195 25.9)

  • #A90362

    #A90362

    oklch(48% 0.195 355.6)

  • #8E4800

    #8E4800

    oklch(48% 0.118 55.7)

Open the analogous palette in the generator

Split complementary

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

  • #B20017

    #B20017

    oklch(48.1% 0.195 25.9)

  • #006E5C

    #006E5C

    oklch(48.1% 0.09 176.1)

  • #006590

    #006590

    oklch(48% 0.104 236.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B20017

    #B20017

    oklch(48.1% 0.195 25.9)

  • #007221

    #007221

    oklch(48% 0.147 145.9)

  • #294FCA

    #294FCA

    oklch(48.1% 0.196 265.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B20017

    #B20017

    oklch(48.1% 0.195 25.9)

  • #5B6500

    #5B6500

    oklch(48.1% 0.11 116.3)

  • #006B74

    #006B74

    oklch(48.2% 0.082 205)

  • #6B38BD

    #6B38BD

    oklch(48.1% 0.196 295.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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