#D42328#D42328

#D42328 is a mid, highly saturated red. Relative luminance 0.154; OKLCH L 56.1% C 0.210 H 26.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D42328
RGBrgb(212, 35, 40)
HSLhsl(358, 72%, 48%)
HSVhsv(358, 83%, 83%)
CMYKcmyk(0%, 83.5%, 81.1%, 16.9%)
CIE-LABlab(46.12, 65.49, 43.57)
CIE-LCHlch(46.12, 78.66, 33.64°)
OKLaboklab(56.09% 0.1878 0.093)
OKLCHoklch(56.09% 0.21 26.3)
XYZxyz(28.1390, 15.3570, 3.4897)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42328 #23D4CF
analogous
#D42380 #D42328 #D47623
triadic
#D42328 #28D423 #2328D4
tetradic
#D42328 #80D423 #23D4CF #7623D4
square
#D42328 #80D423 #23D4CF #7623D4
split-complementary
#D42328 #23D476 #2380D4
monochromatic
#6B1214 #9F1A1E #D42328 #E25256 #EB8689

Accessibility & contrast

On white

5.16
#D42328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#D42328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42328
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42328#FFFFFF#000000##FFFFFF
##D423281.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5526
Deuteranopia (green-blind)
#897B1F
Tritanopia (blue-blind)
#EA0028
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d42328;
/* rgb */ color: rgb(212, 35, 40);
/* oklch */ color: oklch(56.1% 0.210 26.3);
Tailwind
colors: {
  custom: {
    50: '#ec7263',
    500: '#d42328',
    950: '#000000',
  },
}
SCSS
$custom: #d42328;
$custom-light: #ec7263;
$custom-dark: #000000;
JSON
{
  "hex": "#d42328",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 40
  },
  "hsl": {
    "h": 358.305,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.20956,
    "h": 26.3
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#D42328
secondary
#7ED4D2
accent
#EEE939
background
#FFF7F6
surface
#FFEDEB
border
#D7C8C6
text
#190905
muted
#867B7A

Preview Lab

Preview with #D42328

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

Preview Lab → · Contrast checker → · Palette generator →

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