#B02858

Closest named color: Raspberry (#B00149). oklch(50.8% 0.174 5.1), rgb(176, 40, 88).

Aa

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

About this color

#B02858 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.174 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.032 away. White text reads best on it, at 6.38:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.29:1
White text6.38:1

Values

HEX#B02858
RGBrgb(176, 40, 88)
HSLhsl(339, 63%, 42%)
OKLCHoklch(50.8% 0.174 5.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 #B02858 6.38:1 AA Lc -85.6 Fine for body text
Black text on #B02858 3.29:1 AA large text Lc 23.7 Dividers and decoration only
#B02858 text on white 6.38:1 AA Lc 80.4 Fine for body text
#B02858 text on black 3.29:1 AA large text Lc -21.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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #F9E4E7

    oklch(93.7% 0.023 7.7)

  3. Step 200

    200

    #F6CDD5

    oklch(88.6% 0.047 4.9)

  4. Step 300

    300

    #F0AAB9

    oklch(80.8% 0.084 5)

  5. Step 400

    400

    #E57A95

    oklch(70.7% 0.135 5)

  6. Step 500

    500

    #DA537B

    oklch(63.1% 0.172 5.1)

  7. Step 600

    600

    #C53164

    oklch(55.5% 0.186 5.2)

  8. Step 700

    700 (this color)

    #B02858

    oklch(50.8% 0.174 5.1)

  9. Step 800

    800

    #8A1F44

    oklch(42.7% 0.144 5.2)

  10. Step 900

    900

    #6F2139

    oklch(37.7% 0.112 5.4)

  11. Step 950

    950

    #421522

    oklch(27.2% 0.071 5.2)

Export this scale for Tailwind in the Tailwind colors tool

#B02858 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)#4A4E590.196
Deuteranopia (no green cones)#6E69550.177
Tritanopia (no blue cones)#C0003D0.047
Achromatopsia (no color)#5F5F5F0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #B02858

    #B02858

    oklch(50.8% 0.174 5.1)

  • #00766C

    #00766C

    oklch(50.9% 0.09 184.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B02858

    #B02858

    oklch(50.8% 0.174 5.1)

  • #9E338C

    #9E338C

    oklch(51% 0.174 335.2)

  • #B32F07

    #B32F07

    oklch(50.8% 0.174 34.9)

Open the analogous palette in the generator

Split complementary

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

  • #B02858

    #B02858

    oklch(50.8% 0.174 5.1)

  • #007A44

    #007A44

    oklch(50.9% 0.126 154.9)

  • #007286

    #007286

    oklch(50.8% 0.09 215.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B02858

    #B02858

    oklch(50.8% 0.174 5.1)

  • #557100

    #557100

    oklch(50.8% 0.127 124.9)

  • #006AA9

    #006AA9

    oklch(50.7% 0.128 245.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B02858

    #B02858

    oklch(50.8% 0.174 5.1)

  • #786400

    #786400

    oklch(50.8% 0.104 95.3)

  • #00766C

    #00766C

    oklch(50.9% 0.09 184.6)

  • #4D55C7

    #4D55C7

    oklch(50.8% 0.175 275.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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