#C40228

Closest named color: Lipstick Red (#C0022F). oklch(51.8% 0.208 22.9), rgb(196, 2, 40).

Aa

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

About this color

#C40228 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.208 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick Red (#C0022F), ΔE 0.011 away. White text reads best on it, at 6.20:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameLipstick Red (#C0022F)
Black text3.38:1
White text6.20:1

Values

HEX#C40228
RGBrgb(196, 2, 40)
HSLhsl(348, 98%, 39%)
OKLCHoklch(51.8% 0.208 22.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 #C40228 6.20:1 AA Lc -83.5 Fine for body text
Black text on #C40228 3.38:1 AA large text Lc 25.8 Dividers and decoration only
#C40228 text on white 6.20:1 AA Lc 78.2 Fine for body text
#C40228 text on black 3.38:1 AA large text Lc -23.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 700.

  1. Step 50

    50

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FDE3E1

    oklch(93.6% 0.029 23)

  3. Step 200

    200

    #FCCBC8

    oklch(88.4% 0.056 22.4)

  4. Step 300

    300

    #FBA7A2

    oklch(80.9% 0.1 23.3)

  5. Step 400

    400

    #F57270

    oklch(70.8% 0.162 23)

  6. Step 500

    500

    #EC424A

    oklch(63.1% 0.206 23)

  7. Step 600

    600

    #D7012D

    oklch(55.5% 0.224 22.8)

  8. Step 700

    700 (this color)

    #C40228

    oklch(51.8% 0.208 22.9)

  9. Step 800

    800

    #97001C

    oklch(42.7% 0.172 22.9)

  10. Step 900

    900

    #79141D

    oklch(37.6% 0.134 22.6)

  11. Step 950

    950

    #480F11

    oklch(27.1% 0.086 23.2)

Export this scale for Tailwind in the Tailwind colors tool

#C40228 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)#5049270.232
Deuteranopia (no green cones)#7B6E1F0.210
Tritanopia (no blue cones)#D800190.043
Achromatopsia (no color)#6161610.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #C40228

    #C40228

    oklch(51.8% 0.208 22.9)

  • #00777F

    #00777F

    oklch(51.9% 0.088 203)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C40228

    #C40228

    oklch(51.8% 0.208 22.9)

  • #B90D73

    #B90D73

    oklch(51.9% 0.209 352.9)

  • #A14E00

    #A14E00

    oklch(51.8% 0.132 52.7)

Open the analogous palette in the generator

Split complementary

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

  • #C40228

    #C40228

    oklch(51.8% 0.208 22.9)

  • #007B63

    #007B63

    oklch(52% 0.1 172.8)

  • #00729B

    #00729B

    oklch(51.9% 0.106 232.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C40228

    #C40228

    oklch(51.8% 0.208 22.9)

  • #007F08

    #007F08

    oklch(51.7% 0.174 142.9)

  • #205BDD

    #205BDD

    oklch(51.8% 0.208 262.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C40228

    #C40228

    oklch(51.8% 0.208 22.9)

  • #6A6F00

    #6A6F00

    oklch(52% 0.116 112.9)

  • #00777F

    #00777F

    oklch(51.9% 0.088 203)

  • #7242D2

    #7242D2

    oklch(51.8% 0.208 293)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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