#D02827

Closest named color: Cherry (#CF0234). oklch(55.7% 0.203 27.2), rgb(208, 40, 39).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.203)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text4.01:1
White text5.23:1

Values

HEX#D02827
RGBrgb(208, 40, 39)
HSLhsl(0, 68%, 48%)
OKLCHoklch(55.7% 0.203 27.2)

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 #D02827 5.23:1 AA Lc -79.6 Fine for body text
Black text on #D02827 4.01:1 AA large text Lc 29.9 Dividers and decoration only
#D02827 text on white 5.23:1 AA Lc 74.2 Content text, not long reading
#D02827 text on black 4.01:1 AA large text Lc -27.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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F9CDC7

    oklch(88.5% 0.051 27.2)

  4. Step 300

    300

    #F6AAA1

    oklch(80.9% 0.091 26.8)

  5. Step 400

    400

    #EE796D

    oklch(70.7% 0.146 27.4)

  6. Step 500

    500

    #E44F46

    oklch(63% 0.186 27.2)

  7. Step 600

    600 (this color)

    #D02827

    oklch(55.7% 0.203 27.2)

  8. Step 700

    700

    #B31619

    oklch(49% 0.188 27.3)

  9. Step 800

    800

    #921818

    oklch(42.8% 0.157 27)

  10. Step 900

    900

    #751E1A

    oklch(37.7% 0.122 27.3)

  11. Step 950

    950

    #451310

    oklch(27% 0.078 27)

Export this scale for Tailwind in the Tailwind colors tool

#D02827 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)#5F55240.220
Deuteranopia (no green cones)#88791E0.200
Tritanopia (no blue cones)#E5002B0.042
Achromatopsia (no color)#6C6C6C0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02827

    #D02827

    oklch(55.7% 0.203 27.2)

  • #008390

    #008390

    oklch(55.7% 0.096 207)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02827

    #D02827

    oklch(55.7% 0.203 27.2)

  • #C72675

    #C72675

    oklch(55.6% 0.203 357)

  • #AC5B00

    #AC5B00

    oklch(55.6% 0.134 57.3)

Open the analogous palette in the generator

Split complementary

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

  • #D02827

    #D02827

    oklch(55.7% 0.203 27.2)

  • #008772

    #008772

    oklch(55.7% 0.104 176.6)

  • #007CB1

    #007CB1

    oklch(55.6% 0.122 237.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02827

    #D02827

    oklch(55.7% 0.203 27.2)

  • #008C32

    #008C32

    oklch(55.8% 0.165 147.2)

  • #3F65E8

    #3F65E8

    oklch(55.7% 0.203 267.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02827

    #D02827

    oklch(55.7% 0.203 27.2)

  • #6F7C00

    #6F7C00

    oklch(55.6% 0.128 116.8)

  • #008390

    #008390

    oklch(55.7% 0.096 207)

  • #844ED9

    #844ED9

    oklch(55.8% 0.203 297.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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