#C0031F

Closest named color: Scarlet (#BE0119). oklch(51% 0.205 24.9), rgb(192, 3, 31).

Aa

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

About this color

#C0031F is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.205 and its hue 25°. Its hue sits on the warm side of the wheel. The nearest named color is Scarlet (#BE0119), ΔE 0.006 away. White text reads best on it, at 6.41:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.205)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.27:1
White text6.41:1

Values

HEX#C0031F
RGBrgb(192, 3, 31)
HSLhsl(351, 97%, 38%)
OKLCHoklch(51% 0.205 24.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 #C0031F 6.41:1 AA Lc -84.5 Fine for body text
Black text on #C0031F 3.27:1 AA large text Lc 24.8 Dividers and decoration only
#C0031F text on white 6.41:1 AA Lc 79.2 Fine for body text
#C0031F text on black 3.27:1 AA large text Lc -22.6 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC7

    oklch(88.6% 0.055 25.2)

  4. Step 300

    300

    #FAA7A0

    oklch(80.8% 0.099 24.8)

  5. Step 400

    400

    #F4736D

    oklch(70.7% 0.16 24.7)

  6. Step 500

    500

    #EB4545

    oklch(63.1% 0.203 25.1)

  7. Step 600

    600

    #D60D26

    oklch(55.5% 0.221 24.9)

  8. Step 700

    700 (this color)

    #C0031F

    oklch(51% 0.205 24.9)

  9. Step 800

    800

    #960517

    oklch(42.6% 0.17 24.9)

  10. Step 900

    900

    #79161A

    oklch(37.7% 0.133 24.6)

  11. Step 950

    950

    #471010

    oklch(27% 0.084 24.7)

Export this scale for Tailwind in the Tailwind colors tool

#C0031F 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)#4F471D0.228
Deuteranopia (no green cones)#796C140.206
Tritanopia (no blue cones)#D400150.042
Achromatopsia (no color)#5F5F5F0.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0031F

    #C0031F

    oklch(51% 0.205 24.9)

  • #00747E

    #00747E

    oklch(51% 0.087 205.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0031F

    #C0031F

    oklch(51% 0.205 24.9)

  • #B6096C

    #B6096C

    oklch(51% 0.205 354.9)

  • #9B4E00

    #9B4E00

    oklch(50.9% 0.126 54.9)

Open the analogous palette in the generator

Split complementary

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

  • #C0031F

    #C0031F

    oklch(51% 0.205 24.9)

  • #007863

    #007863

    oklch(51.1% 0.097 174.8)

  • #006F9B

    #006F9B

    oklch(51.1% 0.108 234.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0031F

    #C0031F

    oklch(51% 0.205 24.9)

  • #007C1E

    #007C1E

    oklch(51% 0.161 144.9)

  • #2957D9

    #2957D9

    oklch(50.9% 0.206 264.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0031F

    #C0031F

    oklch(51% 0.205 24.9)

  • #656D00

    #656D00

    oklch(51% 0.115 114.7)

  • #00747E

    #00747E

    oklch(51% 0.087 205.3)

  • #733FCC

    #733FCC

    oklch(51% 0.205 295)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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