#D04157#D04157

#D04157 is a mid, vivid red. Relative luminance 0.179; OKLCH L 58.6% C 0.179 H 15.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D04157
RGBrgb(208, 65, 87)
HSLhsl(351, 60%, 54%)
HSVhsv(351, 69%, 82%)
CMYKcmyk(0%, 68.8%, 58.2%, 18.4%)
CIE-LABlab(49.35, 57.32, 19.79)
CIE-LCHlch(49.35, 60.64, 19.05°)
OKLaboklab(58.58% 0.1719 0.0488)
OKLCHoklch(58.58% 0.179 15.8)
XYZxyz(29.6259, 17.8827, 10.9067)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04157 #41D0BA
analogous
#D0419E #D04157 #D07241
triadic
#D04157 #57D041 #4157D0
tetradic
#D04157 #9ED041 #41D0BA #7241D0
square
#D04157 #9ED041 #41D0BA #7241D0
split-complementary
#D04157 #41D072 #419ED0
monochromatic
#791E2C #AA2A3E #D04157 #DC7282 #E8A3AE

Accessibility & contrast

On white

4.59
#D04157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#D04157 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D04157
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04157#FFFFFF#000000##FFFFFF
##D041571.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666257
Deuteranopia (green-blind)
#8A8053
Tritanopia (blue-blind)
#E31F4A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d04157;
/* rgb */ color: rgb(208, 65, 87);
/* oklch */ color: oklch(58.6% 0.179 15.8);
Tailwind
colors: {
  custom: {
    50: '#e57f86',
    500: '#d04157',
    950: '#000000',
  },
}
SCSS
$custom: #d04157;
$custom-light: #e57f86;
$custom-dark: #000000;
JSON
{
  "hex": "#d04157",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 350.769,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.17864,
    "h": 15.8
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#D04157
secondary
#98D5CC
accent
#E3CB44
background
#FFF8F8
surface
#FEEFEF
border
#D6CACA
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #D04157

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

Preview Lab → · Contrast checker → · Palette generator →

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