#DB1218

Closest named color: Crimson (#DC143C). oklch(56.5% 0.224 27.8), rgb(219, 18, 24).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.224)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.11:1
White text5.10:1

Values

HEX#DB1218
RGBrgb(219, 18, 24)
HSLhsl(358, 85%, 46%)
OKLCHoklch(56.5% 0.224 27.8)

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 #DB1218 5.10:1 AA Lc -78.2 Fine for body text
Black text on #DB1218 4.11:1 AA large text Lc 31.3 Non-text elements, placeholder text
#DB1218 text on white 5.10:1 AA Lc 72.8 Content text, not long reading
#DB1218 text on black 4.11:1 AA large text Lc -28.9 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

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FDE3DF

    oklch(93.6% 0.029 28.1)

  3. Step 200

    200

    #FCCCC5

    oklch(88.5% 0.056 27.9)

  4. Step 300

    300

    #FBA89C

    oklch(81% 0.1 28.5)

  5. Step 400

    400

    #F57366

    oklch(70.7% 0.162 27.7)

  6. Step 500

    500

    #EC443B

    oklch(63.1% 0.206 27.8)

  7. Step 600

    600 (this color)

    #DB1218

    oklch(56.5% 0.224 27.8)

  8. Step 700

    700

    #B8000C

    oklch(49.2% 0.201 27.9)

  9. Step 800

    800

    #97030A

    oklch(42.6% 0.172 27.8)

  10. Step 900

    900

    #791613

    oklch(37.7% 0.134 27.7)

  11. Step 950

    950

    #48100C

    oklch(27.1% 0.086 28.3)

Export this scale for Tailwind in the Tailwind colors tool

#DB1218 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)#5E53130.246
Deuteranopia (no green cones)#8C7C020.221
Tritanopia (no blue cones)#F2001A0.045
Achromatopsia (no color)#6E6E6E0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB1218

    #DB1218

    oklch(56.5% 0.224 27.8)

  • #008593

    #008593

    oklch(56.4% 0.097 207.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB1218

    #DB1218

    oklch(56.5% 0.224 27.8)

  • #D21076

    #D21076

    oklch(56.5% 0.224 357.8)

  • #AF5E00

    #AF5E00

    oklch(56.6% 0.135 58.2)

Open the analogous palette in the generator

Split complementary

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

  • #DB1218

    #DB1218

    oklch(56.5% 0.224 27.8)

  • #008976

    #008976

    oklch(56.4% 0.103 178.4)

  • #007FB6

    #007FB6

    oklch(56.6% 0.125 237.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB1218

    #DB1218

    oklch(56.5% 0.224 27.8)

  • #008E36

    #008E36

    oklch(56.4% 0.164 147.8)

  • #3F63F7

    #3F63F7

    oklch(56.5% 0.224 267.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB1218

    #DB1218

    oklch(56.5% 0.224 27.8)

  • #707F00

    #707F00

    oklch(56.4% 0.131 117.7)

  • #008593

    #008593

    oklch(56.4% 0.097 207.7)

  • #8948E5

    #8948E5

    oklch(56.4% 0.224 297.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #DB1218.

Similar named colors

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

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