#B10042

Closest named color: Raspberry (#B00149). oklch(48.5% 0.194 11.5), rgb(177, 0, 66).

Aa

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

About this color

#B10042 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.194 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.011 away. White text reads best on it, at 7.12:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.194)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text2.94:1
White text7.12:1

Values

HEX#B10042
RGBrgb(177, 0, 66)
HSLhsl(338, 100%, 35%)
OKLCHoklch(48.5% 0.194 11.5)

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 #B10042 7.12:1 AAA Lc -87.2 Fine for body text
Black text on #B10042 2.94:1 Fails Lc 21.9 Dividers and decoration only
#B10042 text on white 7.12:1 AAA Lc 82.2 Fine for body text
#B10042 text on black 2.94:1 Fails Lc -19.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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F9CCD0

    oklch(88.5% 0.051 12.1)

  4. Step 300

    300

    #F6A8B1

    oklch(80.9% 0.093 11.7)

  5. Step 400

    400

    #EE7588

    oklch(70.8% 0.15 11.8)

  6. Step 500

    500

    #E4496B

    oklch(63.1% 0.191 11.6)

  7. Step 600

    600

    #D01C53

    oklch(55.7% 0.209 11.6)

  8. Step 700

    700 (this color)

    #B10042

    oklch(48.5% 0.194 11.5)

  9. Step 800

    800

    #911038

    oklch(42.6% 0.16 11.3)

  10. Step 900

    900

    #751A30

    oklch(37.8% 0.125 11.8)

  11. Step 950

    950

    #45111C

    oklch(27% 0.08 11.7)

Export this scale for Tailwind in the Tailwind colors tool

#B10042 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)#4343430.219
Deuteranopia (no green cones)#6C633E0.197
Tritanopia (no blue cones)#C200250.052
Achromatopsia (no color)#5858580.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #B10042

    #B10042

    oklch(48.5% 0.194 11.5)

  • #006E6B

    #006E6B

    oklch(48.6% 0.084 191.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B10042

    #B10042

    oklch(48.5% 0.194 11.5)

  • #A1187E

    #A1187E

    oklch(48.6% 0.194 341.5)

  • #A03900

    #A03900

    oklch(48.6% 0.148 41.6)

Open the analogous palette in the generator

Split complementary

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

  • #B10042

    #B10042

    oklch(48.5% 0.194 11.5)

  • #00714B

    #00714B

    oklch(48.5% 0.107 161.4)

  • #006A83

    #006A83

    oklch(48.6% 0.089 221.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B10042

    #B10042

    oklch(48.5% 0.194 11.5)

  • #426D00

    #426D00

    oklch(48.4% 0.133 131.4)

  • #0060AC

    #0060AC

    oklch(48.5% 0.143 251.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B10042

    #B10042

    oklch(48.5% 0.194 11.5)

  • #6B6000

    #6B6000

    oklch(48.4% 0.101 101.6)

  • #006E6B

    #006E6B

    oklch(48.6% 0.084 191.5)

  • #5345C7

    #5345C7

    oklch(48.5% 0.193 281.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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