#C31A6F

Closest named color: Medium Violet Red (#C71585). oklch(54% 0.207 357.6), rgb(195, 26, 111).

Aa

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

About this color

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

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

Values

HEX#C31A6F
RGBrgb(195, 26, 111)
HSLhsl(330, 76%, 43%)
OKLCHoklch(54% 0.207 357.6)

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 #C31A6F 5.67:1 AA Lc -81.9 Fine for body text
Black text on #C31A6F 3.69:1 AA large text Lc 27.5 Dividers and decoration only
#C31A6F text on white 5.67:1 AA Lc 76.5 Fine for body text
#C31A6F text on black 3.69:1 AA large text Lc -25.2 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F7CCD9

    oklch(88.6% 0.051 358.1)

  4. Step 300

    300

    #F2A8C1

    oklch(80.9% 0.092 357.4)

  5. Step 400

    400

    #E875A1

    oklch(70.7% 0.149 357.4)

  6. Step 500

    500

    #DD4B8A

    oklch(63.1% 0.19 357.4)

  7. Step 600

    600 (this color)

    #C31A6F

    oklch(54% 0.207 357.6)

  8. Step 700

    700

    #AD0F61

    oklch(49.1% 0.193 357.6)

  9. Step 800

    800

    #8C144F

    oklch(42.6% 0.159 357.5)

  10. Step 900

    900

    #711B42

    oklch(37.7% 0.124 357.4)

  11. Step 950

    950

    #431226

    oklch(27.1% 0.079 358.5)

Export this scale for Tailwind in the Tailwind colors tool

#C31A6F 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)#4653710.235
Deuteranopia (no green cones)#74726B0.209
Tritanopia (no blue cones)#D400440.070
Achromatopsia (no color)#6767670.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #C31A6F

    #C31A6F

    oklch(54% 0.207 357.6)

  • #00816E

    #00816E

    oklch(54% 0.1 177.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C31A6F

    #C31A6F

    oklch(54% 0.207 357.6)

  • #A930AA

    #A930AA

    oklch(54% 0.207 327.6)

  • #CC1C1D

    #CC1C1D

    oklch(54.1% 0.207 27.6)

Open the analogous palette in the generator

Split complementary

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

  • #C31A6F

    #C31A6F

    oklch(54% 0.207 357.6)

  • #008632

    #008632

    oklch(54.1% 0.158 147.7)

  • #007D8A

    #007D8A

    oklch(53.9% 0.093 207.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C31A6F

    #C31A6F

    oklch(54% 0.207 357.6)

  • #697700

    #697700

    oklch(53.9% 0.125 117.6)

  • #0077AB

    #0077AB

    oklch(54% 0.119 237.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C31A6F

    #C31A6F

    oklch(54% 0.207 357.6)

  • #8A6A00

    #8A6A00

    oklch(54.1% 0.111 87.7)

  • #00816E

    #00816E

    oklch(54% 0.1 177.6)

  • #3C5FE5

    #3C5FE5

    oklch(54.2% 0.207 267.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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