#9D1270

Closest named color: Red Violet (#9E0168). oklch(46.9% 0.188 346.2), rgb(157, 18, 112).

Aa

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

About this color

#9D1270 is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.188 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.014 away. White text reads best on it, at 7.62:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.188)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.75:1
White text7.62:1

Values

HEX#9D1270
RGBrgb(157, 18, 112)
HSLhsl(319, 79%, 34%)
OKLCHoklch(46.9% 0.188 346.2)

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 #9D1270 7.62:1 AAA Lc -89.6 Fine for body text
Black text on #9D1270 2.75:1 Fails Lc 19.3 Dividers and decoration only
#9D1270 text on white 7.62:1 AAA Lc 84.7 Fine for body text
#9D1270 text on black 2.75:1 Fails Lc -17.3 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

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F3CCE0

    oklch(88.4% 0.051 345.9)

  4. Step 300

    300

    #ECA9CD

    oklch(80.9% 0.091 345.9)

  5. Step 400

    400

    #E078B3

    oklch(70.7% 0.146 346.4)

  6. Step 500

    500

    #D450A1

    oklch(63.1% 0.187 345.9)

  7. Step 600

    600

    #BF2D8B

    oklch(55.6% 0.202 346.3)

  8. Step 700

    700 (this color)

    #9D1270

    oklch(46.9% 0.188 346.2)

  9. Step 800

    800

    #861C60

    oklch(42.8% 0.156 346.5)

  10. Step 900

    900

    #6C1F4F

    oklch(37.8% 0.122 346.1)

  11. Step 950

    950

    #3F142E

    oklch(27% 0.076 346.1)

Export this scale for Tailwind in the Tailwind colors tool

#9D1270 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)#2B45720.214
Deuteranopia (no green cones)#565C6D0.183
Tritanopia (no blue cones)#A80A420.078
Achromatopsia (no color)#5454540.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D1270

    #9D1270

    oklch(46.9% 0.188 346.2)

  • #006B4E

    #006B4E

    oklch(46.8% 0.097 166.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D1270

    #9D1270

    oklch(46.9% 0.188 346.2)

  • #82299F

    #82299F

    oklch(47% 0.188 316.4)

  • #AA0034

    #AA0034

    oklch(46.9% 0.187 16.2)

Open the analogous palette in the generator

Split complementary

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

  • #9D1270

    #9D1270

    oklch(46.9% 0.188 346.2)

  • #316B00

    #316B00

    oklch(47% 0.14 136.1)

  • #006869

    #006869

    oklch(46.9% 0.08 195.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D1270

    #9D1270

    oklch(46.9% 0.188 346.2)

  • #625D00

    #625D00

    oklch(46.8% 0.1 106)

  • #006481

    #006481

    oklch(46.9% 0.09 226.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D1270

    #9D1270

    oklch(46.9% 0.188 346.2)

  • #7A5200

    #7A5200

    oklch(47.1% 0.099 76.3)

  • #006B4E

    #006B4E

    oklch(46.8% 0.097 166.4)

  • #0057B2

    #0057B2

    oklch(46.9% 0.161 256.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #9D1270 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.