#D42E28#D42E28

#D42E28 is a mid, highly saturated red. Relative luminance 0.161; OKLCH L 56.8% C 0.203 H 28.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D42E28
RGBrgb(212, 46, 40)
HSLhsl(2, 68%, 49%)
HSVhsv(2, 81%, 83%)
CMYKcmyk(0%, 78.3%, 81.1%, 16.9%)
CIE-LABlab(47.12, 62.66, 44.54)
CIE-LCHlch(47.12, 76.88, 35.41°)
OKLaboklab(56.83% 0.1789 0.0951)
OKLCHoklch(56.83% 0.203 28)
XYZxyz(28.5149, 16.1089, 3.6150)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E28 #28CED4
analogous
#D42878 #D42E28 #D48428
triadic
#D42E28 #28D42E #2E28D4
tetradic
#D42E28 #78D428 #28CED4 #8428D4
square
#D42E28 #78D428 #28CED4 #8428D4
split-complementary
#D42E28 #28D484 #2878D4
monochromatic
#6D1815 #A1231E #D42E28 #E05E59 #E9908D

Accessibility & contrast

On white

4.98
#D42E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#D42E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42E28
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E28#FFFFFF#000000##FFFFFF
##D42E281.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635925
Deuteranopia (green-blind)
#8C7D1F
Tritanopia (blue-blind)
#EA002F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d42e28;
/* rgb */ color: rgb(212, 46, 40);
/* oklch */ color: oklch(56.8% 0.203 28.0);
Tailwind
colors: {
  custom: {
    50: '#eb7664',
    500: '#d42e28',
    950: '#000000',
  },
}
SCSS
$custom: #d42e28;
$custom-light: #eb7664;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e28",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 2.093,
    "s": 68.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.20264,
    "h": 28
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#D42E28
secondary
#84D1D4
accent
#E5EB3D
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180905
muted
#867B7A

Preview Lab

Preview with #D42E28

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

Preview Lab → · Contrast checker → · Palette generator →

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