#D42826#D42826

#D42826 is a mid, highly saturated red. Relative luminance 0.157; OKLCH L 56.4% C 0.207 H 27.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D42826
RGBrgb(212, 40, 38)
HSLhsl(1, 70%, 49%)
HSVhsv(1, 82%, 83%)
CMYKcmyk(0%, 81.1%, 82.1%, 16.9%)
CIE-LABlab(46.52, 64.23, 45.02)
CIE-LCHlch(46.52, 78.44, 35.03°)
OKLaboklab(56.38% 0.1835 0.0954)
OKLCHoklch(56.38% 0.207 27.5)
XYZxyz(28.2636, 15.6592, 3.3677)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42826 #26D2D4
analogous
#D4267B #D42826 #D47F26
triadic
#D42826 #26D428 #2826D4
tetradic
#D42826 #7BD426 #26D2D4 #7F26D4
square
#D42826 #7BD426 #26D2D4 #7F26D4
split-complementary
#D42826 #26D47F #267BD4
monochromatic
#6C1413 #A01E1D #D42826 #E15856 #EA8B8A

Accessibility & contrast

On white

5.08
#D42826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#D42826 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42826
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42826#FFFFFF#000000##FFFFFF
##D428261.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615623
Deuteranopia (green-blind)
#8A7B1C
Tritanopia (blue-blind)
#EA002B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d42826;
/* rgb */ color: rgb(212, 40, 38);
/* oklch */ color: oklch(56.4% 0.207 27.5);
Tailwind
colors: {
  custom: {
    50: '#ec7462',
    500: '#d42826',
    950: '#000000',
  },
}
SCSS
$custom: #d42826;
$custom-light: #ec7462;
$custom-dark: #000000;
JSON
{
  "hex": "#d42826",
  "rgb": {
    "r": 212,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 0.69,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.20681,
    "h": 27.5
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#D42826
secondary
#82D3D4
accent
#EAEC3B
background
#FFF7F5
surface
#FFEEEA
border
#D7C9C6
text
#190905
muted
#867B79

Preview Lab

Preview with #D42826

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

Preview Lab → · Contrast checker → · Palette generator →

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