#B02040

Closest named color: Rouge (#AB1239). oklch(49.6% 0.178 15.1), rgb(176, 32, 64).

Aa

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

About this color

#B02040 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.178 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.019 away. White text reads best on it, at 6.71:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text3.12:1
White text6.71:1

Values

HEX#B02040
RGBrgb(176, 32, 64)
HSLhsl(347, 69%, 41%)
OKLCHoklch(49.6% 0.178 15.1)

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 #B02040 6.71:1 AA Lc -86.6 Fine for body text
Black text on #B02040 3.12:1 AA large text Lc 22.5 Dividers and decoration only
#B02040 text on white 6.71:1 AA Lc 81.5 Fine for body text
#B02040 text on black 3.12:1 AA large text Lc -20.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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FAE4E4

    oklch(93.7% 0.024 17.6)

  3. Step 200

    200

    #F7CDCF

    oklch(88.5% 0.048 14.9)

  4. Step 300

    300

    #F3AAAF

    oklch(80.9% 0.086 14.6)

  5. Step 400

    400

    #E97A85

    oklch(70.8% 0.137 15)

  6. Step 500

    500

    #DF5266

    oklch(63.2% 0.176 15.3)

  7. Step 600

    600

    #CA2E4E

    oklch(55.6% 0.191 15)

  8. Step 700

    700 (this color)

    #B02040

    oklch(49.6% 0.178 15.1)

  9. Step 800

    800

    #8D1D34

    oklch(42.6% 0.146 15)

  10. Step 900

    900

    #72202D

    oklch(37.8% 0.114 15.5)

  11. Step 950

    950

    #43141B

    oklch(27% 0.073 14.5)

Export this scale for Tailwind in the Tailwind colors tool

#B02040 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)#4B49400.199
Deuteranopia (no green cones)#6F663C0.180
Tritanopia (no blue cones)#C1002E0.038
Achromatopsia (no color)#5C5C5C0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #B02040

    #B02040

    oklch(49.6% 0.178 15.1)

  • #007171

    #007171

    oklch(49.7% 0.085 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B02040

    #B02040

    oklch(49.6% 0.178 15.1)

  • #A22779

    #A22779

    oklch(49.6% 0.178 344.8)

  • #A04000

    #A04000

    oklch(49.5% 0.142 45)

Open the analogous palette in the generator

Split complementary

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

  • #B02040

    #B02040

    oklch(49.6% 0.178 15.1)

  • #007453

    #007453

    oklch(49.5% 0.104 165.1)

  • #006D8A

    #006D8A

    oklch(49.7% 0.094 224.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B02040

    #B02040

    oklch(49.6% 0.178 15.1)

  • #397300

    #397300

    oklch(49.6% 0.145 135.2)

  • #0060BC

    #0060BC

    oklch(49.7% 0.164 255)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B02040

    #B02040

    oklch(49.6% 0.178 15.1)

  • #6B6500

    #6B6500

    oklch(49.6% 0.106 105.6)

  • #007171

    #007171

    oklch(49.7% 0.085 194.8)

  • #5D4AC1

    #5D4AC1

    oklch(49.7% 0.178 285.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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