#D5241E#D5241E

#D5241E is a mid, highly saturated red. Relative luminance 0.155; OKLCH L 56.2% C 0.211 H 28.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D5241E
RGBrgb(213, 36, 30)
HSLhsl(2, 75%, 48%)
HSVhsv(2, 86%, 84%)
CMYKcmyk(0%, 83.1%, 85.9%, 16.5%)
CIE-LABlab(46.32, 65.29, 48.91)
CIE-LCHlch(46.32, 81.58, 36.84°)
OKLaboklab(56.25% 0.1853 0.1007)
OKLCHoklch(56.25% 0.211 28.5)
XYZxyz(28.3094, 15.5064, 2.7305)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5241E #1ECFD5
analogous
#D51E74 #D5241E #D57F1E
triadic
#D5241E #1ED524 #241ED5
tetradic
#D5241E #74D51E #1ECFD5 #7F1ED5
square
#D5241E #74D51E #1ECFD5 #7F1ED5
split-complementary
#D5241E #1ED57F #1E74D5
monochromatic
#6A120F #9F1B16 #D5241E #E6504B #ED8480

Accessibility & contrast

On white

5.12
#D5241E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#D5241E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D5241E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5241E#FFFFFF#000000##FFFFFF
##D5241E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#8B7B11
Tritanopia (blue-blind)
#EB0026
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d5241e;
/* rgb */ color: rgb(213, 36, 30);
/* oklch */ color: oklch(56.2% 0.211 28.5);
Tailwind
colors: {
  custom: {
    50: '#ed725d',
    500: '#d5241e',
    950: '#000000',
  },
}
SCSS
$custom: #d5241e;
$custom-light: #ed725d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5241e",
  "rgb": {
    "r": 213,
    "g": 36,
    "b": 30
  },
  "hsl": {
    "h": 1.967,
    "s": 75.309,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.21089,
    "h": 28.5
  },
  "luminance": 0.15502
}

Semantic roles & 50–950 ramp

primary
#D5241E
secondary
#79D3D6
accent
#ECF236
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79

Preview Lab

Preview with #D5241E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D5241E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva