#B02281

Closest named color: Medium Violet Red (#C71585). oklch(51.9% 0.197 345.4), rgb(176, 34, 129).

Aa

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

About this color

#B02281 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.197 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.045 away. White text reads best on it, at 6.19:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.197)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.39:1
White text6.19:1

Values

HEX#B02281
RGBrgb(176, 34, 129)
HSLhsl(320, 68%, 41%)
OKLCHoklch(51.9% 0.197 345.4)

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 #B02281 6.19:1 AA Lc -84.6 Fine for body text
Black text on #B02281 3.39:1 AA large text Lc 24.7 Dividers and decoration only
#B02281 text on white 6.19:1 AA Lc 79.4 Fine for body text
#B02281 text on black 3.39:1 AA large text Lc -22.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F4CCE1

    oklch(88.5% 0.052 345.3)

  4. Step 300

    300

    #EEA8CE

    oklch(80.9% 0.095 345.7)

  5. Step 400

    400

    #E276B5

    oklch(70.7% 0.152 345.7)

  6. Step 500

    500

    #D64CA3

    oklch(63% 0.195 345.3)

  7. Step 600

    600

    #C1268E

    oklch(55.6% 0.211 345.3)

  8. Step 700

    700 (this color)

    #B02281

    oklch(51.9% 0.197 345.4)

  9. Step 800

    800

    #871762

    oklch(42.7% 0.163 345.5)

  10. Step 900

    900

    #6D1C50

    oklch(37.7% 0.127 345.5)

  11. Step 950

    950

    #40122F

    oklch(26.9% 0.081 345.1)

Export this scale for Tailwind in the Tailwind colors tool

#B02281 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)#3752830.221
Deuteranopia (no green cones)#626A7E0.192
Tritanopia (no blue cones)#BC1E500.082
Achromatopsia (no color)#6161610.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #B02281

    #B02281

    oklch(51.9% 0.197 345.4)

  • #007C59

    #007C59

    oklch(52% 0.109 165.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B02281

    #B02281

    oklch(51.9% 0.197 345.4)

  • #9237B3

    #9237B3

    oklch(51.9% 0.196 315.6)

  • #BF1641

    #BF1641

    oklch(51.9% 0.197 15.5)

Open the analogous palette in the generator

Split complementary

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

  • #B02281

    #B02281

    oklch(51.9% 0.197 345.4)

  • #3C7B00

    #3C7B00

    oklch(52% 0.153 135.5)

  • #007879

    #007879

    oklch(51.9% 0.088 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B02281

    #B02281

    oklch(51.9% 0.197 345.4)

  • #726B00

    #726B00

    oklch(51.8% 0.11 105.1)

  • #007493

    #007493

    oklch(52% 0.098 224.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B02281

    #B02281

    oklch(51.9% 0.197 345.4)

  • #8C5E00

    #8C5E00

    oklch(51.8% 0.109 75.7)

  • #007C59

    #007C59

    oklch(52% 0.109 165.1)

  • #0066C9

    #0066C9

    oklch(52% 0.173 255.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #B02281.

Similar named colors

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

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