#D5241F

Closest named color: Crimson (#DC143C). oklch(56.3% 0.211 28.3), rgb(213, 36, 31).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.211)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.10:1
White text5.12:1

Values

HEX#D5241F
RGBrgb(213, 36, 31)
HSLhsl(2, 75%, 48%)
OKLCHoklch(56.3% 0.211 28.3)

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 #D5241F 5.12:1 AA Lc -78.8 Fine for body text
Black text on #D5241F 4.10:1 AA large text Lc 30.7 Non-text elements, placeholder text
#D5241F text on white 5.12:1 AA Lc 73.4 Content text, not long reading
#D5241F text on black 4.10:1 AA large text Lc -28.3 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FACDC6

    oklch(88.5% 0.052 28.5)

  4. Step 300

    300

    #F8A99E

    oklch(80.8% 0.095 28.1)

  5. Step 400

    400

    #F07769

    oklch(70.6% 0.152 28.3)

  6. Step 500

    500

    #E74C3F

    oklch(63.1% 0.194 28.6)

  7. Step 600

    600 (this color)

    #D5241F

    oklch(56.3% 0.211 28.3)

  8. Step 700

    700

    #B60B0E

    oklch(49.1% 0.196 28.3)

  9. Step 800

    800

    #941310

    oklch(42.8% 0.163 28.4)

  10. Step 900

    900

    #771B16

    oklch(37.8% 0.127 28.1)

  11. Step 950

    950

    #46120E

    oklch(27% 0.081 28.1)

Export this scale for Tailwind in the Tailwind colors tool

#D5241F 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)#60551B0.229
Deuteranopia (no green cones)#8B7B120.206
Tritanopia (no blue cones)#EB00260.043
Achromatopsia (no color)#6E6E6E0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5241F

    #D5241F

    oklch(56.3% 0.211 28.3)

  • #008493

    #008493

    oklch(56.1% 0.097 208.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5241F

    #D5241F

    oklch(56.3% 0.211 28.3)

  • #CD2174

    #CD2174

    oklch(56.3% 0.211 358.3)

  • #AE5D00

    #AE5D00

    oklch(56.2% 0.135 57.9)

Open the analogous palette in the generator

Split complementary

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

  • #D5241F

    #D5241F

    oklch(56.3% 0.211 28.3)

  • #008976

    #008976

    oklch(56.4% 0.103 178.4)

  • #007EB6

    #007EB6

    oklch(56.3% 0.125 238.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5241F

    #D5241F

    oklch(56.3% 0.211 28.3)

  • #008D38

    #008D38

    oklch(56.1% 0.161 148.3)

  • #4364EF

    #4364EF

    oklch(56.2% 0.212 268.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5241F

    #D5241F

    oklch(56.3% 0.211 28.3)

  • #6E7F00

    #6E7F00

    oklch(56.3% 0.132 118.7)

  • #008493

    #008493

    oklch(56.1% 0.097 208.7)

  • #884CDD

    #884CDD

    oklch(56.2% 0.21 298.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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