#D42D52#D42D52

#D42D52 is a mid, highly saturated red. Relative luminance 0.165; OKLCH L 57.4% C 0.201 H 14.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D42D52
RGBrgb(212, 45, 82)
HSLhsl(347, 66%, 50%)
HSVhsv(347, 79%, 83%)
CMYKcmyk(0%, 78.8%, 61.3%, 16.9%)
CIE-LABlab(47.61, 64.80, 20.64)
CIE-LCHlch(47.61, 68.01, 17.67°)
OKLaboklab(57.38% 0.1945 0.0503)
OKLCHoklch(57.38% 0.201 14.5)
XYZxyz(29.6159, 16.4875, 9.6040)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42D52 #2DD4AF
analogous
#D42DA5 #D42D52 #D45C2D
triadic
#D42D52 #52D42D #2D52D4
tetradic
#D42D52 #A5D42D #2DD4AF #5C2DD4
square
#D42D52 #A5D42D #2DD4AF #5C2DD4
split-complementary
#D42D52 #2DD45C #2DA5D4
monochromatic
#70172B #A3213E #D42D52 #DE607C #E993A6

Accessibility & contrast

On white

4.89
#D42D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#D42D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42D52
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42D52#FFFFFF#000000##FFFFFF
##D42D521.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5B52
Deuteranopia (green-blind)
#887D4D
Tritanopia (blue-blind)
#E8003D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42d52;
/* rgb */ color: rgb(212, 45, 82);
/* oklch */ color: oklch(57.4% 0.201 14.5);
Tailwind
colors: {
  custom: {
    50: '#e97682',
    500: '#d42d52',
    950: '#000000',
  },
}
SCSS
$custom: #d42d52;
$custom-light: #e97682;
$custom-dark: #000000;
JSON
{
  "hex": "#d42d52",
  "rgb": {
    "r": 212,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 346.707,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57381,
    "c": 0.20092,
    "h": 14.5
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#D42D52
secondary
#89D4C3
accent
#E9C33F
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#180A0A
muted
#867C7C

Preview Lab

Preview with #D42D52

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

Preview Lab → · Contrast checker → · Palette generator →

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