#D04D5F#D04D5F

#D04D5F is a mid, vivid red. Relative luminance 0.195; OKLCH L 60.1% C 0.165 H 15.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D04D5F
RGBrgb(208, 77, 95)
HSLhsl(352, 58%, 56%)
HSVhsv(352, 63%, 82%)
CMYKcmyk(0%, 63%, 54.3%, 18.4%)
CIE-LABlab(51.32, 53.01, 17.64)
CIE-LCHlch(51.32, 55.87, 18.41°)
OKLaboklab(60.1% 0.1594 0.0441)
OKLCHoklch(60.1% 0.165 15.5)
XYZxyz(30.7345, 19.5478, 12.9789)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D5F #4DD0BE
analogous
#D04DA0 #D04D5F #D07C4D
triadic
#D04D5F #5FD04D #4D5FD0
tetradic
#D04D5F #A0D04D #4DD0BE #7C4DD0
square
#D04D5F #A0D04D #4DD0BE #7C4DD0
split-complementary
#D04D5F #4DD07C #4DA0D0
monochromatic
#81222F #B12F41 #D04D5F #DD7D8B #EAAEB6

Accessibility & contrast

On white

4.28
#D04D5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D04D5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D5F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D5F#FFFFFF#000000##000000
##D04D5F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C695F
Deuteranopia (green-blind)
#8E845C
Tritanopia (blue-blind)
#E33654
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04d5f;
/* rgb */ color: rgb(208, 77, 95);
/* oklch */ color: oklch(60.1% 0.165 15.5);
Tailwind
colors: {
  custom: {
    50: '#e4858c',
    500: '#d04d5f',
    950: '#000000',
  },
}
SCSS
$custom: #d04d5f;
$custom-light: #e4858c;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d5f",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 95
  },
  "hsl": {
    "h": 351.756,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.16534,
    "h": 15.5
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#D04D5F
secondary
#A1D8D0
accent
#E1CC46
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #D04D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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