#B23982

Closest named color: Medium Violet Red (#C71585). oklch(54.2% 0.173 347.3), rgb(178, 57, 130).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.80:1
White text5.52:1

Values

HEX#B23982
RGBrgb(178, 57, 130)
HSLhsl(324, 51%, 46%)
OKLCHoklch(54.2% 0.173 347.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 #B23982 5.52:1 AA Lc -82.0 Fine for body text
Black text on #B23982 3.80:1 AA large text Lc 27.4 Dividers and decoration only
#B23982 text on white 5.52:1 AA Lc 76.7 Fine for body text
#B23982 text on black 3.80:1 AA large text Lc -25.1 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 600.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEDE

    oklch(88.5% 0.043 348)

  4. Step 300

    300

    #E7ADCA

    oklch(81% 0.077 347.5)

  5. Step 400

    400

    #D97FAF

    oklch(70.7% 0.125 347.6)

  6. Step 500

    500

    #CC5B9B

    oklch(63.1% 0.16 347.6)

  7. Step 600

    600 (this color)

    #B23982

    oklch(54.2% 0.173 347.3)

  8. Step 700

    700

    #9D2F72

    oklch(49.2% 0.161 347.1)

  9. Step 800

    800

    #80285D

    oklch(42.8% 0.134 347.1)

  10. Step 900

    900

    #67264C

    oklch(37.7% 0.104 347.1)

  11. Step 950

    950

    #3D172C

    oklch(27% 0.066 348.1)

Export this scale for Tailwind in the Tailwind colors tool

#B23982 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)#485B840.191
Deuteranopia (no green cones)#6B707F0.169
Tritanopia (no blue cones)#BE35580.069
Achromatopsia (no color)#6969690.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #B23982

    #B23982

    oklch(54.2% 0.173 347.3)

  • #008362

    #008362

    oklch(54.2% 0.11 167.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B23982

    #B23982

    oklch(54.2% 0.173 347.3)

  • #9747B0

    #9747B0

    oklch(54.3% 0.173 317.4)

  • #BF3549

    #BF3549

    oklch(54.2% 0.174 17.2)

Open the analogous palette in the generator

Split complementary

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

  • #B23982

    #B23982

    oklch(54.2% 0.173 347.3)

  • #388400

    #388400

    oklch(54.3% 0.166 137.3)

  • #007F82

    #007F82

    oklch(54.1% 0.092 197.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B23982

    #B23982

    oklch(54.2% 0.173 347.3)

  • #777300

    #777300

    oklch(54.2% 0.116 107.3)

  • #007A9E

    #007A9E

    oklch(54.1% 0.105 227.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B23982

    #B23982

    oklch(54.2% 0.173 347.3)

  • #936500

    #936500

    oklch(54.1% 0.113 77.5)

  • #008362

    #008362

    oklch(54.2% 0.11 167.5)

  • #1E6CD1

    #1E6CD1

    oklch(54.3% 0.173 257.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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