#D04852#D04852

#D04852 is a mid, vivid red. Relative luminance 0.187; OKLCH L 59.2% C 0.171 H 19.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D04852
RGBrgb(208, 72, 82)
HSLhsl(356, 59%, 55%)
HSVhsv(356, 65%, 82%)
CMYKcmyk(0%, 65.4%, 60.6%, 18.4%)
CIE-LABlab(50.28, 54.18, 24.02)
CIE-LCHlch(50.28, 59.26, 23.91°)
OKLaboklab(59.24% 0.161 0.0582)
OKLCHoklch(59.24% 0.171 19.9)
XYZxyz(29.8557, 18.6579, 10.0102)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04852 #48D0C6
analogous
#D04896 #D04852 #D08248
triadic
#D04852 #52D048 #4852D0
tetradic
#D04852 #96D048 #48D0C6 #8248D0
square
#D04852 #96D048 #48D0C6 #8248D0
split-complementary
#D04852 #48D082 #4896D0
monochromatic
#7D2027 #AE2D36 #D04852 #DD7980 #E9A9AE

Accessibility & contrast

On white

4.44
#D04852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#D04852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04852
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04852#FFFFFF#000000##000000
##D048521.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6651
Deuteranopia (green-blind)
#8D824E
Tritanopia (blue-blind)
#E32A4D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d04852;
/* rgb */ color: rgb(208, 72, 82);
/* oklch */ color: oklch(59.2% 0.171 19.9);
Tailwind
colors: {
  custom: {
    50: '#e58282',
    500: '#d04852',
    950: '#000000',
  },
}
SCSS
$custom: #d04852;
$custom-light: #e58282;
$custom-dark: #000000;
JSON
{
  "hex": "#d04852",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 82
  },
  "hsl": {
    "h": 355.588,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.17121,
    "h": 19.9
  },
  "luminance": 0.18654
}

Semantic roles & 50–950 ramp

primary
#D04852
secondary
#9DD7D2
accent
#E2D745
background
#FFF8F7
surface
#FEEFEE
border
#D6CAC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #D04852

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

Preview Lab → · Contrast checker → · Palette generator →

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