#D23227

Closest named color: Crimson (#DC143C). oklch(56.8% 0.198 29), rgb(210, 50, 39).

Aa

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

About this color

#D23227 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.198 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.040 away. White text reads best on it, at 4.96:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.198)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.22:1
White text4.96:1

Values

HEX#D23227
RGBrgb(210, 50, 39)
HSLhsl(4, 69%, 49%)
OKLCHoklch(56.8% 0.198 29)

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 #D23227 4.96:1 AA Lc -78.3 Fine for body text
Black text on #D23227 4.22:1 AA large text Lc 31.2 Non-text elements, placeholder text
#D23227 text on white 4.96:1 AA Lc 72.8 Content text, not long reading
#D23227 text on black 4.22:1 AA large text Lc -28.8 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F8CEC7

    oklch(88.6% 0.049 29.1)

  4. Step 300

    300

    #F5ABA0

    oklch(80.9% 0.089 28.6)

  5. Step 400

    400

    #EC7B6C

    oklch(70.8% 0.142 29)

  6. Step 500

    500

    #E25244

    oklch(63% 0.182 28.8)

  7. Step 600

    600 (this color)

    #D23227

    oklch(56.8% 0.198 29)

  8. Step 700

    700

    #B21C15

    oklch(49.2% 0.185 28.9)

  9. Step 800

    800

    #901C15

    oklch(42.7% 0.152 28.9)

  10. Step 900

    900

    #742018

    oklch(37.8% 0.119 29.2)

  11. Step 950

    950

    #44140F

    oklch(26.9% 0.075 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#D23227 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)#6459240.212
Deuteranopia (no green cones)#8B7C1F0.193
Tritanopia (no blue cones)#E800310.049
Achromatopsia (no color)#7070700.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #D23227

    #D23227

    oklch(56.8% 0.198 29)

  • #008696

    #008696

    oklch(56.8% 0.098 209.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D23227

    #D23227

    oklch(56.8% 0.198 29)

  • #CB2F74

    #CB2F74

    oklch(56.9% 0.198 359.2)

  • #AF5F00

    #AF5F00

    oklch(56.7% 0.135 58.8)

Open the analogous palette in the generator

Split complementary

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

  • #D23227

    #D23227

    oklch(56.8% 0.198 29)

  • #008A78

    #008A78

    oklch(56.7% 0.103 179.3)

  • #007FB9

    #007FB9

    oklch(56.7% 0.128 239)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D23227

    #D23227

    oklch(56.8% 0.198 29)

  • #008F3C

    #008F3C

    oklch(56.8% 0.16 149)

  • #4968E9

    #4968E9

    oklch(56.8% 0.198 269)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D23227

    #D23227

    oklch(56.8% 0.198 29)

  • #6F8100

    #6F8100

    oklch(56.8% 0.134 119)

  • #008696

    #008696

    oklch(56.8% 0.098 209.4)

  • #8952D8

    #8952D8

    oklch(56.8% 0.197 298.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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