#B02D40

Closest named color: Firebrick (#B22222). oklch(50.7% 0.166 17.7), rgb(176, 45, 64).

Aa

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

About this color

#B02D40 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.166 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.032 away. White text reads best on it, at 6.37:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.29:1
White text6.37:1

Values

HEX#B02D40
RGBrgb(176, 45, 64)
HSLhsl(351, 59%, 43%)
OKLCHoklch(50.7% 0.166 17.7)

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 #B02D40 6.37:1 AA Lc -85.6 Fine for body text
Black text on #B02D40 3.29:1 AA large text Lc 23.6 Dividers and decoration only
#B02D40 text on white 6.37:1 AA Lc 80.4 Fine for body text
#B02D40 text on black 3.29:1 AA large text Lc -21.4 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

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #F9E4E4

    oklch(93.6% 0.023 17.6)

  3. Step 200

    200

    #F6CECE

    oklch(88.6% 0.045 18)

  4. Step 300

    300

    #F0ACAD

    oklch(80.9% 0.08 18)

  5. Step 400

    400

    #E57D82

    oklch(70.6% 0.128 17.8)

  6. Step 500

    500

    #DB5763

    oklch(63.1% 0.165 17.8)

  7. Step 600

    600

    #C6374A

    oklch(55.6% 0.179 18)

  8. Step 700

    700 (this color)

    #B02D40

    oklch(50.7% 0.166 17.7)

  9. Step 800

    800

    #8A2332

    oklch(42.6% 0.137 17.3)

  10. Step 900

    900

    #6F232C

    oklch(37.6% 0.107 17.1)

  11. Step 950

    950

    #42161A

    oklch(27.1% 0.068 17.4)

Export this scale for Tailwind in the Tailwind colors tool

#B02D40 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)#514E400.184
Deuteranopia (no green cones)#73693C0.168
Tritanopia (no blue cones)#C100350.040
Achromatopsia (no color)#5F5F5F0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #B02D40

    #B02D40

    oklch(50.7% 0.166 17.7)

  • #007477

    #007477

    oklch(50.7% 0.086 197.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B02D40

    #B02D40

    oklch(50.7% 0.166 17.7)

  • #A43176

    #A43176

    oklch(50.7% 0.166 347.7)

  • #A24600

    #A24600

    oklch(50.7% 0.139 47.7)

Open the analogous palette in the generator

Split complementary

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

  • #B02D40

    #B02D40

    oklch(50.7% 0.166 17.7)

  • #007759

    #007759

    oklch(50.5% 0.103 167.7)

  • #006F91

    #006F91

    oklch(50.6% 0.099 228)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B02D40

    #B02D40

    oklch(50.7% 0.166 17.7)

  • #307800

    #307800

    oklch(50.6% 0.156 137.7)

  • #1861C2

    #1861C2

    oklch(50.7% 0.167 257.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B02D40

    #B02D40

    oklch(50.7% 0.166 17.7)

  • #6C6900

    #6C6900

    oklch(50.7% 0.109 107.8)

  • #007477

    #007477

    oklch(50.7% 0.086 197.9)

  • #634EBD

    #634EBD

    oklch(50.6% 0.167 287.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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