#D04257#D04257

#D04257 is a mid, vivid red. Relative luminance 0.180; OKLCH L 58.7% C 0.178 H 16.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#D04257
RGBrgb(208, 66, 87)
HSLhsl(351, 60%, 54%)
HSVhsv(351, 68%, 82%)
CMYKcmyk(0%, 68.3%, 58.2%, 18.4%)
CIE-LABlab(49.49, 56.93, 19.98)
CIE-LCHlch(49.49, 60.33, 19.34°)
OKLaboklab(58.68% 0.1706 0.0492)
OKLCHoklch(58.68% 0.178 16.1)
XYZxyz(29.6838, 17.9985, 10.9260)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04257 #42D0BB
analogous
#D0429E #D04257 #D07442
triadic
#D04257 #57D042 #4257D0
tetradic
#D04257 #9ED042 #42D0BB #7442D0
square
#D04257 #9ED042 #42D0BB #7442D0
split-complementary
#D04257 #42D074 #429ED0
monochromatic
#791E2C #AA2A3D #D04257 #DC7383 #E8A4AE

Accessibility & contrast

On white

4.57
#D04257 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#D04257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04257
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04257#FFFFFF#000000##000000
##D042571.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#666357
Deuteranopia (green-blind)
#8B8153
Tritanopia (blue-blind)
#E3214B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d04257;
/* rgb */ color: rgb(208, 66, 87);
/* oklch */ color: oklch(58.7% 0.178 16.1);
Tailwind
colors: {
  custom: {
    50: '#e57f86',
    500: '#d04257',
    950: '#000000',
  },
}
SCSS
$custom: #d04257;
$custom-light: #e57f86;
$custom-dark: #000000;
JSON
{
  "hex": "#d04257",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 87
  },
  "hsl": {
    "h": 351.127,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5868,
    "c": 0.17758,
    "h": 16.1
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#D04257
secondary
#99D5CC
accent
#E3CC44
background
#FFF8F8
surface
#FEEFEF
border
#D6CACA
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #D04257

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

Preview Lab → · Contrast checker → · Palette generator →

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