#D04151#D04151

#D04151 is a mid, vivid red. Relative luminance 0.178; OKLCH L 58.5% C 0.179 H 18.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D04151
RGBrgb(208, 65, 81)
HSLhsl(353, 60%, 54%)
HSVhsv(353, 69%, 82%)
CMYKcmyk(0%, 68.8%, 61.1%, 18.4%)
CIE-LABlab(49.24, 56.91, 23.25)
CIE-LCHlch(49.24, 61.48, 22.22°)
OKLaboklab(58.45% 0.1695 0.0564)
OKLCHoklch(58.45% 0.179 18.4)
XYZxyz(29.3908, 17.7887, 9.6689)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04151 #41D0C0
analogous
#D04198 #D04151 #D07841
triadic
#D04151 #51D041 #4151D0
tetradic
#D04151 #98D041 #41D0C0 #7841D0
square
#D04151 #98D041 #41D0C0 #7841D0
split-complementary
#D04151 #41D078 #4198D0
monochromatic
#791E28 #AA2A38 #D04151 #DC727E #E8A3AB

Accessibility & contrast

On white

4.61
#D04151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#D04151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D04151
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04151#FFFFFF#000000##FFFFFF
##D041511.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676251
Deuteranopia (green-blind)
#8B804D
Tritanopia (blue-blind)
#E41C48
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d04151;
/* rgb */ color: rgb(208, 65, 81);
/* oklch */ color: oklch(58.5% 0.179 18.4);
Tailwind
colors: {
  custom: {
    50: '#e57f81',
    500: '#d04151',
    950: '#000000',
  },
}
SCSS
$custom: #d04151;
$custom-light: #e57f81;
$custom-dark: #000000;
JSON
{
  "hex": "#d04151",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 353.287,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58452,
    "c": 0.17866,
    "h": 18.4
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#D04151
secondary
#98D5CE
accent
#E3D244
background
#FFF8F7
surface
#FEEFEE
border
#D6CAC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #D04151

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

Preview Lab → · Contrast checker → · Palette generator →

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