#B12582

Closest named color: Medium Violet Red (#C71585). oklch(52.3% 0.195 345.5), rgb(177, 37, 130).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.195)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.45:1
White text6.07:1

Values

HEX#B12582
RGBrgb(177, 37, 130)
HSLhsl(320, 65%, 42%)
OKLCHoklch(52.3% 0.195 345.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 #B12582 6.07:1 AA Lc -84.2 Fine for body text
Black text on #B12582 3.45:1 AA large text Lc 25.1 Dividers and decoration only
#B12582 text on white 6.07:1 AA Lc 78.9 Fine for body text
#B12582 text on black 3.45:1 AA large text Lc -22.9 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F4CCE1

    oklch(88.5% 0.052 345.3)

  4. Step 300

    300

    #EEA8CE

    oklch(80.9% 0.095 345.7)

  5. Step 400

    400

    #E176B5

    oklch(70.6% 0.151 345.4)

  6. Step 500

    500

    #D64DA3

    oklch(63.1% 0.193 345.4)

  7. Step 600

    600

    #C1278E

    oklch(55.6% 0.21 345.4)

  8. Step 700

    700 (this color)

    #B12582

    oklch(52.3% 0.195 345.5)

  9. Step 800

    800

    #871862

    oklch(42.7% 0.162 345.5)

  10. Step 900

    900

    #6D1D50

    oklch(37.8% 0.126 345.6)

  11. Step 950

    950

    #40132F

    oklch(27.1% 0.079 345.4)

Export this scale for Tailwind in the Tailwind colors tool

#B12582 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)#3953840.219
Deuteranopia (no green cones)#646B7F0.190
Tritanopia (no blue cones)#BD22510.082
Achromatopsia (no color)#6262620.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #B12582

    #B12582

    oklch(52.3% 0.195 345.5)

  • #007D5A

    #007D5A

    oklch(52.3% 0.109 165.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B12582

    #B12582

    oklch(52.3% 0.195 345.5)

  • #9339B4

    #9339B4

    oklch(52.4% 0.195 315.5)

  • #C01B43

    #C01B43

    oklch(52.3% 0.195 15.4)

Open the analogous palette in the generator

Split complementary

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

  • #B12582

    #B12582

    oklch(52.3% 0.195 345.5)

  • #3D7C00

    #3D7C00

    oklch(52.3% 0.154 135.4)

  • #00797A

    #00797A

    oklch(52.2% 0.089 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B12582

    #B12582

    oklch(52.3% 0.195 345.5)

  • #736D00

    #736D00

    oklch(52.3% 0.112 105.9)

  • #007595

    #007595

    oklch(52.3% 0.099 225.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B12582

    #B12582

    oklch(52.3% 0.195 345.5)

  • #8E5F00

    #8E5F00

    oklch(52.3% 0.11 75.3)

  • #007D5A

    #007D5A

    oklch(52.3% 0.109 165.3)

  • #0067CB

    #0067CB

    oklch(52.3% 0.175 255.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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