#D04758#D04758

#D04758 is a mid, vivid red. Relative luminance 0.186; OKLCH L 59.2% C 0.172 H 17.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D04758
RGBrgb(208, 71, 88)
HSLhsl(353, 59%, 55%)
HSVhsv(353, 66%, 82%)
CMYKcmyk(0%, 65.9%, 57.7%, 18.4%)
CIE-LABlab(50.25, 55.00, 20.38)
CIE-LCHlch(50.25, 58.66, 20.33°)
OKLaboklab(59.25% 0.1647 0.0502)
OKLCHoklch(59.25% 0.172 17)
XYZxyz(30.0299, 18.6250, 11.2443)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04758 #47D0BF
analogous
#D0479C #D04758 #D07B47
triadic
#D04758 #58D047 #4758D0
tetradic
#D04758 #9CD047 #47D0BF #7B47D0
square
#D04758 #9CD047 #47D0BF #7B47D0
split-complementary
#D04758 #47D07B #479CD0
monochromatic
#7D202B #AD2C3C #D04758 #DC7884 #E9A8B0

Accessibility & contrast

On white

4.45
#D04758 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D04758 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04758
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04758#FFFFFF#000000##000000
##D047581.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#696558
Deuteranopia (green-blind)
#8C8255
Tritanopia (blue-blind)
#E32A4E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d04758;
/* rgb */ color: rgb(208, 71, 88);
/* oklch */ color: oklch(59.2% 0.172 17.0);
Tailwind
colors: {
  custom: {
    50: '#e58287',
    500: '#d04758',
    950: '#000000',
  },
}
SCSS
$custom: #d04758;
$custom-light: #e58287;
$custom-dark: #000000;
JSON
{
  "hex": "#d04758",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 88
  },
  "hsl": {
    "h": 352.555,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.17214,
    "h": 17
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#D04758
secondary
#9DD6CF
accent
#E2CF45
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #D04758

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

Preview Lab → · Contrast checker → · Palette generator →

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