#B02666

Closest named color: Raspberry (#B00149). oklch(51.1% 0.18 357.9), rgb(176, 38, 102).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.31:1
White text6.33:1

Values

HEX#B02666
RGBrgb(176, 38, 102)
HSLhsl(332, 64%, 42%)
OKLCHoklch(51.1% 0.18 357.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 #B02666 6.33:1 AA Lc -85.3 Fine for body text
Black text on #B02666 3.31:1 AA large text Lc 23.9 Dividers and decoration only
#B02666 text on white 6.33:1 AA Lc 80.1 Fine for body text
#B02666 text on black 3.31:1 AA large text Lc -21.7 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CCD9

    oklch(88.4% 0.049 357.1)

  4. Step 300

    300

    #F0A9C0

    oklch(80.9% 0.088 358.2)

  5. Step 400

    400

    #E479A0

    oklch(70.7% 0.139 358.1)

  6. Step 500

    500

    #D95189

    oklch(63.1% 0.178 358)

  7. Step 600

    600

    #C42E73

    oklch(55.6% 0.193 357.9)

  8. Step 700

    700 (this color)

    #B02666

    oklch(51.1% 0.18 357.9)

  9. Step 800

    800

    #891D4F

    oklch(42.7% 0.149 357.7)

  10. Step 900

    900

    #6F1F41

    oklch(37.7% 0.117 358.3)

  11. Step 950

    950

    #411426

    oklch(27% 0.073 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#B02666 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)#454F680.203
Deuteranopia (no green cones)#6B69630.181
Tritanopia (no blue cones)#BF0C430.057
Achromatopsia (no color)#6060600.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #B02666

    #B02666

    oklch(51.1% 0.18 357.9)

  • #007866

    #007866

    oklch(51.2% 0.095 177.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B02666

    #B02666

    oklch(51.1% 0.18 357.9)

  • #9A3499

    #9A3499

    oklch(51.2% 0.18 328.2)

  • #B72823

    #B72823

    oklch(51.1% 0.18 27.8)

Open the analogous palette in the generator

Split complementary

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

  • #B02666

    #B02666

    oklch(51.1% 0.18 357.9)

  • #007C2F

    #007C2F

    oklch(51.1% 0.148 148)

  • #007481

    #007481

    oklch(51.1% 0.088 208.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B02666

    #B02666

    oklch(51.1% 0.18 357.9)

  • #616F00

    #616F00

    oklch(51.2% 0.119 118.1)

  • #006E9F

    #006E9F

    oklch(51.1% 0.113 237.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B02666

    #B02666

    oklch(51.1% 0.18 357.9)

  • #7F6200

    #7F6200

    oklch(51.1% 0.104 88.3)

  • #007866

    #007866

    oklch(51.2% 0.095 177.4)

  • #3B5ACC

    #3B5ACC

    oklch(51.2% 0.18 267.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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