#B42A5E

Closest named color: Raspberry (#B00149). oklch(51.9% 0.177 3.3), rgb(180, 42, 94).

Aa

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

About this color

#B42A5E is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.177 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.041 away. White text reads best on it, at 6.11:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.43:1
White text6.11:1

Values

HEX#B42A5E
RGBrgb(180, 42, 94)
HSLhsl(337, 62%, 44%)
OKLCHoklch(51.9% 0.177 3.3)

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 #B42A5E 6.11:1 AA Lc -84.4 Fine for body text
Black text on #B42A5E 3.43:1 AA large text Lc 24.9 Dividers and decoration only
#B42A5E text on white 6.11:1 AA Lc 79.2 Fine for body text
#B42A5E text on black 3.43:1 AA large text Lc -22.6 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

    #F9E3E8

    oklch(93.5% 0.025 2.1)

  3. Step 200

    200

    #F6CDD6

    oklch(88.6% 0.048 3.3)

  4. Step 300

    300

    #F0AABB

    oklch(80.9% 0.085 3.2)

  5. Step 400

    400

    #E67998

    oklch(70.7% 0.138 3.1)

  6. Step 500

    500

    #DB527E

    oklch(63.2% 0.175 3.7)

  7. Step 600

    600

    #C62F68

    oklch(55.7% 0.19 3.3)

  8. Step 700

    700 (this color)

    #B42A5E

    oklch(51.9% 0.177 3.3)

  9. Step 800

    800

    #8A1D47

    oklch(42.6% 0.147 2.9)

  10. Step 900

    900

    #6F203B

    oklch(37.6% 0.113 3.4)

  11. Step 950

    950

    #421423

    oklch(27.1% 0.073 3.1)

Export this scale for Tailwind in the Tailwind colors tool

#B42A5E 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)#4B515F0.200
Deuteranopia (no green cones)#706C5B0.181
Tritanopia (no blue cones)#C408410.049
Achromatopsia (no color)#6262620.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #B42A5E

    #B42A5E

    oklch(51.9% 0.177 3.3)

  • #00796E

    #00796E

    oklch(51.8% 0.092 183.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B42A5E

    #B42A5E

    oklch(51.9% 0.177 3.3)

  • #A03593

    #A03593

    oklch(51.8% 0.178 333)

  • #B83013

    #B83013

    oklch(51.8% 0.177 33.2)

Open the analogous palette in the generator

Split complementary

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

  • #B42A5E

    #B42A5E

    oklch(51.9% 0.177 3.3)

  • #007E42

    #007E42

    oklch(52% 0.133 153.2)

  • #007688

    #007688

    oklch(52% 0.091 213)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B42A5E

    #B42A5E

    oklch(51.9% 0.177 3.3)

  • #5B7400

    #5B7400

    oklch(52% 0.128 123.3)

  • #006EAB

    #006EAB

    oklch(51.8% 0.127 243.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B42A5E

    #B42A5E

    oklch(51.9% 0.177 3.3)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

  • #00796E

    #00796E

    oklch(51.8% 0.092 183.9)

  • #4B59CC

    #4B59CC

    oklch(51.8% 0.177 273.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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