#B02A27

Closest named color: Firebrick (#B22222). oklch(50% 0.171 26.9), rgb(176, 42, 39).

Aa

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

About this color

#B02A27 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.171 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.009 away. White text reads best on it, at 6.54:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.20:1
White text6.54:1

Values

HEX#B02A27
RGBrgb(176, 42, 39)
HSLhsl(1, 64%, 42%)
OKLCHoklch(50% 0.171 26.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 #B02A27 6.54:1 AA Lc -86.2 Fine for body text
Black text on #B02A27 3.20:1 AA large text Lc 23.0 Dividers and decoration only
#B02A27 text on white 6.54:1 AA Lc 81.0 Fine for body text
#B02A27 text on black 3.20:1 AA large text Lc -20.8 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FAE4E1

    oklch(93.6% 0.025 26.9)

  3. Step 200

    200

    #F6CEC9

    oklch(88.4% 0.046 26.4)

  4. Step 300

    300

    #F2ACA4

    oklch(80.9% 0.084 26.4)

  5. Step 400

    400

    #E77E73

    oklch(70.7% 0.131 27.1)

  6. Step 500

    500

    #DD574E

    oklch(63% 0.17 26.9)

  7. Step 600

    600

    #C83632

    oklch(55.5% 0.184 26.8)

  8. Step 700

    700 (this color)

    #B02A27

    oklch(50% 0.171 26.9)

  9. Step 800

    800

    #8C2320

    oklch(42.7% 0.141 26.8)

  10. Step 900

    900

    #71231F

    oklch(37.7% 0.111 26.7)

  11. Step 950

    950

    #421613

    oklch(26.9% 0.069 26.6)

Export this scale for Tailwind in the Tailwind colors tool

#B02A27 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)#534B250.184
Deuteranopia (no green cones)#7468210.169
Tritanopia (no blue cones)#C2002B0.042
Achromatopsia (no color)#5D5D5D0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #B02A27

    #B02A27

    oklch(50% 0.171 26.9)

  • #00717C

    #00717C

    oklch(50.1% 0.086 206.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B02A27

    #B02A27

    oklch(50% 0.171 26.9)

  • #A92965

    #A92965

    oklch(50.1% 0.171 356.9)

  • #954E00

    #954E00

    oklch(50% 0.121 57.3)

Open the analogous palette in the generator

Split complementary

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

  • #B02A27

    #B02A27

    oklch(50% 0.171 26.9)

  • #007462

    #007462

    oklch(50% 0.093 176.9)

  • #006B99

    #006B99

    oklch(50% 0.109 236.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B02A27

    #B02A27

    oklch(50% 0.171 26.9)

  • #007829

    #007829

    oklch(49.9% 0.148 147)

  • #3759C3

    #3759C3

    oklch(50.1% 0.17 266.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B02A27

    #B02A27

    oklch(50% 0.171 26.9)

  • #5F6B00

    #5F6B00

    oklch(50% 0.116 117.2)

  • #00717C

    #00717C

    oklch(50.1% 0.086 206.6)

  • #7046B7

    #7046B7

    oklch(50.1% 0.171 296.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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