#DB0C31

Closest named color: Crimson (#DC143C). oklch(56.6% 0.224 22.5), rgb(219, 12, 49).

Aa

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

About this color

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

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

Values

HEX#DB0C31
RGBrgb(219, 12, 49)
HSLhsl(349, 90%, 45%)
OKLCHoklch(56.6% 0.224 22.5)

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 #DB0C31 5.11:1 AA Lc -78.2 Fine for body text
Black text on #DB0C31 4.10:1 AA large text Lc 31.4 Non-text elements, placeholder text
#DB0C31 text on white 5.11:1 AA Lc 72.7 Content text, not long reading
#DB0C31 text on black 4.10:1 AA large text Lc -29.0 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

    #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

    #FBA7A3

    oklch(80.9% 0.1 22.5)

  5. Step 400

    400

    #F57271

    oklch(70.8% 0.162 22.5)

  6. Step 500

    500

    #EC424B

    oklch(63.1% 0.206 22.7)

  7. Step 600

    600 (this color)

    #DB0C31

    oklch(56.6% 0.224 22.5)

  8. Step 700

    700

    #B60025

    oklch(49% 0.198 22.6)

  9. Step 800

    800

    #97001D

    oklch(42.7% 0.172 22.6)

  10. Step 900

    900

    #79141D

    oklch(37.6% 0.134 22.6)

  11. Step 950

    950

    #480F12

    oklch(27.1% 0.086 22.3)

Export this scale for Tailwind in the Tailwind colors tool

#DB0C31 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)#5B53300.249
Deuteranopia (no green cones)#8B7C280.224
Tritanopia (no blue cones)#F100210.046
Achromatopsia (no color)#6E6E6E0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB0C31

    #DB0C31

    oklch(56.6% 0.224 22.5)

  • #00868F

    #00868F

    oklch(56.5% 0.096 203.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB0C31

    #DB0C31

    oklch(56.6% 0.224 22.5)

  • #CE1682

    #CE1682

    oklch(56.5% 0.224 352.6)

  • #B55800

    #B55800

    oklch(56.4% 0.144 52.4)

Open the analogous palette in the generator

Split complementary

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

  • #DB0C31

    #DB0C31

    oklch(56.6% 0.224 22.5)

  • #008A6F

    #008A6F

    oklch(56.4% 0.109 172.5)

  • #0081AF

    #0081AF

    oklch(56.7% 0.116 232.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB0C31

    #DB0C31

    oklch(56.6% 0.224 22.5)

  • #009001

    #009001

    oklch(56.6% 0.192 142.5)

  • #2468F7

    #2468F7

    oklch(56.5% 0.225 262.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB0C31

    #DB0C31

    oklch(56.6% 0.224 22.5)

  • #787D00

    #787D00

    oklch(56.6% 0.126 112.6)

  • #00868F

    #00868F

    oklch(56.5% 0.096 203.1)

  • #804DEB

    #804DEB

    oklch(56.6% 0.224 292.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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