#D5331B

Closest named color: Tomato Red (#EC2D01). oklch(57.3% 0.202 31.5), rgb(213, 51, 27).

Aa

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

About this color

#D5331B is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.202 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Tomato Red (#EC2D01), ΔE 0.044 away. White text reads best on it, at 4.86:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.202)
Temperaturewarm
Nearest nameTomato Red (#EC2D01)
Black text4.31:1
White text4.86:1

Values

HEX#D5331B
RGBrgb(213, 51, 27)
HSLhsl(8, 78%, 47%)
OKLCHoklch(57.3% 0.202 31.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 #D5331B 4.86:1 AA Lc -77.6 Fine for body text
Black text on #D5331B 4.31:1 AA large text Lc 31.9 Non-text elements, placeholder text
#D5331B text on white 4.86:1 AA Lc 72.1 Content text, not long reading
#D5331B text on black 4.31:1 AA large text Lc -29.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

    #FEF3F0

    oklch(97.2% 0.013 35.7)

  2. Step 100

    100

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F9CEC5

    oklch(88.6% 0.05 31.8)

  4. Step 300

    300

    #F5AB9C

    oklch(80.8% 0.09 31.8)

  5. Step 400

    400

    #ED7B66

    oklch(70.8% 0.145 31.8)

  6. Step 500

    500

    #E3523B

    oklch(63.1% 0.185 31.6)

  7. Step 600

    600 (this color)

    #D5331B

    oklch(57.3% 0.202 31.5)

  8. Step 700

    700

    #B31B02

    oklch(49.2% 0.188 31.5)

  9. Step 800

    800

    #911B09

    oklch(42.7% 0.156 31.5)

  10. Step 900

    900

    #741F13

    oklch(37.6% 0.121 31.1)

  11. Step 950

    950

    #45140C

    oklch(27% 0.077 31.7)

Export this scale for Tailwind in the Tailwind colors tool

#D5331B 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)#665A150.215
Deuteranopia (no green cones)#8E7E0D0.194
Tritanopia (no blue cones)#EB00300.053
Achromatopsia (no color)#7171710.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5331B

    #D5331B

    oklch(57.3% 0.202 31.5)

  • #00879A

    #00879A

    oklch(57.2% 0.1 211.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5331B

    #D5331B

    oklch(57.3% 0.202 31.5)

  • #CF2D70

    #CF2D70

    oklch(57.3% 0.202 1.5)

  • #AF6300

    #AF6300

    oklch(57.4% 0.133 61.5)

Open the analogous palette in the generator

Split complementary

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

  • #D5331B

    #D5331B

    oklch(57.3% 0.202 31.5)

  • #008C7C

    #008C7C

    oklch(57.4% 0.103 181.1)

  • #0080C0

    #0080C0

    oklch(57.4% 0.135 241.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5331B

    #D5331B

    oklch(57.3% 0.202 31.5)

  • #009047

    #009047

    oklch(57.2% 0.152 151.6)

  • #5167ED

    #5167ED

    oklch(57.3% 0.202 271.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5331B

    #D5331B

    oklch(57.3% 0.202 31.5)

  • #6C8400

    #6C8400

    oklch(57.4% 0.138 121.5)

  • #00879A

    #00879A

    oklch(57.2% 0.1 211.9)

  • #8F50D9

    #8F50D9

    oklch(57.2% 0.202 301.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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