#D04D52#D04D52

#D04D52 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.8% C 0.166 H 21.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D04D52
RGBrgb(208, 77, 82)
HSLhsl(358, 58%, 56%)
HSVhsv(358, 63%, 82%)
CMYKcmyk(0%, 63%, 60.6%, 18.4%)
CIE-LABlab(51.07, 52.05, 25.04)
CIE-LCHlch(51.07, 57.76, 25.69°)
OKLaboklab(59.83% 0.1543 0.0606)
OKLCHoklch(59.83% 0.166 21.4)
XYZxyz(30.1921, 19.3309, 10.1224)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D52 #4DD0CB
analogous
#D04D93 #D04D52 #D0894D
triadic
#D04D52 #52D04D #4D52D0
tetradic
#D04D52 #93D04D #4DD0CB #894DD0
square
#D04D52 #93D04D #4DD0CB #894DD0
split-complementary
#D04D52 #4DD089 #4D93D0
monochromatic
#812226 #B12F34 #D04D52 #DD7D81 #EAAEB0

Accessibility & contrast

On white

4.32
#D04D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D04D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D52
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D52#FFFFFF#000000##000000
##D04D521.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6851
Deuteranopia (green-blind)
#8F844F
Tritanopia (blue-blind)
#E33250
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04d52;
/* rgb */ color: rgb(208, 77, 82);
/* oklch */ color: oklch(59.8% 0.166 21.4);
Tailwind
colors: {
  custom: {
    50: '#e58582',
    500: '#d04d52',
    950: '#000000',
  },
}
SCSS
$custom: #d04d52;
$custom-light: #e58582;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d52",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 82
  },
  "hsl": {
    "h": 357.71,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59829,
    "c": 0.16574,
    "h": 21.4
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#D04D52
secondary
#A1D8D5
accent
#E1DC46
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #D04D52

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

Preview Lab → · Contrast checker → · Palette generator →

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