#C31261

Closest named color: Ruby (#CA0147). oklch(53.2% 0.207 2.9), rgb(195, 18, 97).

Aa

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

About this color

#C31261 is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.207 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.039 away. White text reads best on it, at 5.86:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.207)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.57:1
White text5.86:1

Values

HEX#C31261
RGBrgb(195, 18, 97)
HSLhsl(333, 83%, 42%)
OKLCHoklch(53.2% 0.207 2.9)

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 #C31261 5.86:1 AA Lc -82.6 Fine for body text
Black text on #C31261 3.57:1 AA large text Lc 26.8 Dividers and decoration only
#C31261 text on white 5.86:1 AA Lc 77.2 Fine for body text
#C31261 text on black 3.57:1 AA large text Lc -24.5 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FBE3E8

    oklch(93.7% 0.027 3.4)

  3. Step 200

    200

    #F8CCD6

    oklch(88.6% 0.051 2.9)

  4. Step 300

    300

    #F4A8BB

    oklch(81% 0.092 3)

  5. Step 400

    400

    #EB7598

    oklch(70.8% 0.149 2.9)

  6. Step 500

    500

    #E04A7E

    oklch(63.1% 0.19 3.1)

  7. Step 600

    600 (this color)

    #C31261

    oklch(53.2% 0.207 2.9)

  8. Step 700

    700

    #AF0C56

    oklch(49% 0.192 2.9)

  9. Step 800

    800

    #8E1347

    oklch(42.6% 0.159 2.6)

  10. Step 900

    900

    #731B3B

    oklch(37.8% 0.124 3.4)

  11. Step 950

    950

    #441223

    oklch(27.1% 0.079 3)

Export this scale for Tailwind in the Tailwind colors tool

#C31261 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)#484F620.235
Deuteranopia (no green cones)#75705D0.210
Tritanopia (no blue cones)#D5003B0.064
Achromatopsia (no color)#6565650.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #C31261

    #C31261

    oklch(53.2% 0.207 2.9)

  • #007E72

    #007E72

    oklch(53.3% 0.095 183.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C31261

    #C31261

    oklch(53.2% 0.207 2.9)

  • #AC299E

    #AC299E

    oklch(53.2% 0.207 332.9)

  • #C42700

    #C42700

    oklch(53.2% 0.196 33)

Open the analogous palette in the generator

Split complementary

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

  • #C31261

    #C31261

    oklch(53.2% 0.207 2.9)

  • #008244

    #008244

    oklch(53.2% 0.137 153.1)

  • #007A8C

    #007A8C

    oklch(53.2% 0.093 212.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C31261

    #C31261

    oklch(53.2% 0.207 2.9)

  • #5F7800

    #5F7800

    oklch(53.3% 0.131 122.9)

  • #0073B0

    #0073B0

    oklch(53.3% 0.128 242.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C31261

    #C31261

    oklch(53.2% 0.207 2.9)

  • #826A00

    #826A00

    oklch(53.2% 0.109 93.2)

  • #007E72

    #007E72

    oklch(53.3% 0.095 183.3)

  • #4A58E1

    #4A58E1

    oklch(53.3% 0.206 272.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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