#D02818

Closest named color: Cherry (#CF0234). oklch(55.5% 0.205 30.1), rgb(208, 40, 24).

Aa

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

About this color

#D02818 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.205 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.040 away. White text reads best on it, at 5.25:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.205)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.99:1
White text5.25:1

Values

HEX#D02818
RGBrgb(208, 40, 24)
HSLhsl(5, 79%, 45%)
OKLCHoklch(55.5% 0.205 30.1)

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 #D02818 5.25:1 AA Lc -79.7 Fine for body text
Black text on #D02818 3.99:1 AA large text Lc 29.8 Dividers and decoration only
#D02818 text on white 5.25:1 AA Lc 74.3 Content text, not long reading
#D02818 text on black 3.99:1 AA large text Lc -27.4 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F9CDC5

    oklch(88.4% 0.051 30.1)

  4. Step 300

    300

    #F6AA9D

    oklch(80.8% 0.092 30)

  5. Step 400

    400

    #EE7968

    oklch(70.7% 0.148 29.8)

  6. Step 500

    500

    #E54F3D

    oklch(63.1% 0.189 30)

  7. Step 600

    600 (this color)

    #D02818

    oklch(55.5% 0.205 30.1)

  8. Step 700

    700

    #B41608

    oklch(49.1% 0.191 30.1)

  9. Step 800

    800

    #92190D

    oklch(42.8% 0.157 30.2)

  10. Step 900

    900

    #751E14

    oklch(37.7% 0.123 30.2)

  11. Step 950

    950

    #45130D

    oklch(26.9% 0.078 29.9)

Export this scale for Tailwind in the Tailwind colors tool

#D02818 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)#6055120.220
Deuteranopia (no green cones)#8879080.199
Tritanopia (no blue cones)#E600270.046
Achromatopsia (no color)#6C6C6C0.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02818

    #D02818

    oklch(55.5% 0.205 30.1)

  • #008292

    #008292

    oklch(55.6% 0.096 209.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02818

    #D02818

    oklch(55.5% 0.205 30.1)

  • #C9236E

    #C9236E

    oklch(55.5% 0.205 0.1)

  • #A95D00

    #A95D00

    oklch(55.5% 0.13 59.8)

Open the analogous palette in the generator

Split complementary

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

  • #D02818

    #D02818

    oklch(55.5% 0.205 30.1)

  • #008675

    #008675

    oklch(55.5% 0.101 179.7)

  • #007BB6

    #007BB6

    oklch(55.6% 0.128 240.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02818

    #D02818

    oklch(55.5% 0.205 30.1)

  • #008B3F

    #008B3F

    oklch(55.7% 0.153 150.2)

  • #4862E8

    #4862E8

    oklch(55.5% 0.204 270.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02818

    #D02818

    oklch(55.5% 0.205 30.1)

  • #6A7E00

    #6A7E00

    oklch(55.7% 0.132 120.1)

  • #008292

    #008292

    oklch(55.6% 0.096 209.8)

  • #884AD6

    #884AD6

    oklch(55.5% 0.205 300.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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