#C31872

Closest named color: Medium Violet Red (#C71585). oklch(54% 0.209 356.3), rgb(195, 24, 114).

Aa

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

About this color

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

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

Values

HEX#C31872
RGBrgb(195, 24, 114)
HSLhsl(328, 78%, 43%)
OKLCHoklch(54% 0.209 356.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 #C31872 5.68:1 AA Lc -81.9 Fine for body text
Black text on #C31872 3.69:1 AA large text Lc 27.6 Dividers and decoration only
#C31872 text on white 5.68:1 AA Lc 76.5 Fine for body text
#C31872 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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F7CBDA

    oklch(88.4% 0.053 355.8)

  4. Step 300

    300

    #F2A7C2

    oklch(80.8% 0.094 356.1)

  5. Step 400

    400

    #E875A3

    oklch(70.7% 0.15 356.4)

  6. Step 500

    500

    #DD4A8D

    oklch(63.1% 0.192 356)

  7. Step 600

    600 (this color)

    #C31872

    oklch(54% 0.209 356.3)

  8. Step 700

    700

    #AD0D64

    oklch(49.1% 0.195 356.1)

  9. Step 800

    800

    #8C1351

    oklch(42.6% 0.161 356.3)

  10. Step 900

    900

    #711B43

    oklch(37.7% 0.125 356.6)

  11. Step 950

    950

    #431227

    oklch(27.1% 0.079 357.3)

Export this scale for Tailwind in the Tailwind colors tool

#C31872 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)#4453740.238
Deuteranopia (no green cones)#73726E0.211
Tritanopia (no blue cones)#D300450.073
Achromatopsia (no color)#6767670.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #C31872

    #C31872

    oklch(54% 0.209 356.3)

  • #00816D

    #00816D

    oklch(53.9% 0.1 176.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C31872

    #C31872

    oklch(54% 0.209 356.3)

  • #A830AD

    #A830AD

    oklch(54% 0.209 326.3)

  • #CC1821

    #CC1821

    oklch(54% 0.209 26.4)

Open the analogous palette in the generator

Split complementary

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

  • #C31872

    #C31872

    oklch(54% 0.209 356.3)

  • #00862B

    #00862B

    oklch(54% 0.163 146.4)

  • #007E89

    #007E89

    oklch(54.1% 0.093 205.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C31872

    #C31872

    oklch(54% 0.209 356.3)

  • #6B7700

    #6B7700

    oklch(54% 0.124 116.5)

  • #0078A9

    #0078A9

    oklch(54.1% 0.116 235.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C31872

    #C31872

    oklch(54% 0.209 356.3)

  • #8B6900

    #8B6900

    oklch(54% 0.111 86.2)

  • #00816D

    #00816D

    oklch(53.9% 0.1 176.7)

  • #365FE6

    #365FE6

    oklch(54% 0.21 266.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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