#D5231E#D5231E

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

Color values

HEX#D5231E
RGBrgb(213, 35, 30)
HSLhsl(2, 75%, 48%)
HSVhsv(2, 86%, 84%)
CMYKcmyk(0%, 83.6%, 85.9%, 16.5%)
CIE-LABlab(46.24, 65.52, 48.84)
CIE-LCHlch(46.24, 81.72, 36.70°)
OKLaboklab(56.19% 0.186 0.1005)
OKLCHoklch(56.19% 0.211 28.4)
XYZxyz(28.2796, 15.4467, 2.7206)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5231E #1ED0D5
analogous
#D51E75 #D5231E #D57E1E
triadic
#D5231E #1ED523 #231ED5
tetradic
#D5231E #75D51E #1ED0D5 #7E1ED5
square
#D5231E #75D51E #1ED0D5 #7E1ED5
split-complementary
#D5231E #1ED57E #1E75D5
monochromatic
#6A110F #9F1A16 #D5231E #E64F4B #ED8380

Accessibility & contrast

On white

5.14
#D5231E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#D5231E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D5231E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5231E#FFFFFF#000000##FFFFFF
##D5231E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#8A7B11
Tritanopia (blue-blind)
#EB0025
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d5231e;
/* rgb */ color: rgb(213, 35, 30);
/* oklch */ color: oklch(56.2% 0.211 28.4);
Tailwind
colors: {
  custom: {
    50: '#ed725d',
    500: '#d5231e',
    950: '#000000',
  },
}
SCSS
$custom: #d5231e;
$custom-light: #ed725d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5231e",
  "rgb": {
    "r": 213,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 1.639,
    "s": 75.309,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.21143,
    "h": 28.4
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5231E

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

Preview Lab → · Contrast checker → · Palette generator →

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