#D04958#D04958

#D04958 is a mid, vivid red. Relative luminance 0.189; OKLCH L 59.5% C 0.170 H 17.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D04958
RGBrgb(208, 73, 88)
HSLhsl(353, 59%, 55%)
HSVhsv(353, 65%, 82%)
CMYKcmyk(0%, 64.9%, 57.7%, 18.4%)
CIE-LABlab(50.55, 54.18, 20.79)
CIE-LCHlch(50.55, 58.03, 20.99°)
OKLaboklab(59.48% 0.162 0.0512)
OKLCHoklch(59.48% 0.17 17.5)
XYZxyz(30.1592, 18.8836, 11.2874)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04958 #49D0C1
analogous
#D0499C #D04958 #D07D49
triadic
#D04958 #58D049 #4958D0
tetradic
#D04958 #9CD049 #49D0C1 #7D49D0
square
#D04958 #9CD049 #49D0C1 #7D49D0
split-complementary
#D04958 #49D07D #499CD0
monochromatic
#7E212B #AF2D3C #D04958 #DD7A85 #E9AAB1

Accessibility & contrast

On white

4.40
#D04958 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#D04958 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04958
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04958#FFFFFF#000000##000000
##D049581.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6758
Deuteranopia (green-blind)
#8D8355
Tritanopia (blue-blind)
#E32E4F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d04958;
/* rgb */ color: rgb(208, 73, 88);
/* oklch */ color: oklch(59.5% 0.170 17.5);
Tailwind
colors: {
  custom: {
    50: '#e58387',
    500: '#d04958',
    950: '#000000',
  },
}
SCSS
$custom: #d04958;
$custom-light: #e58387;
$custom-dark: #000000;
JSON
{
  "hex": "#d04958",
  "rgb": {
    "r": 208,
    "g": 73,
    "b": 88
  },
  "hsl": {
    "h": 353.333,
    "s": 58.952,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.1699,
    "h": 17.5
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#D04958
secondary
#9ED7D0
accent
#E2D146
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #D04958

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

Preview Lab → · Contrast checker → · Palette generator →

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