#D04062#D04062

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

Color values

HEX#D04062
RGBrgb(208, 64, 98)
HSLhsl(346, 61%, 53%)
HSVhsv(346, 69%, 82%)
CMYKcmyk(0%, 69.2%, 52.9%, 18.4%)
CIE-LABlab(49.45, 58.52, 13.27)
CIE-LCHlch(49.45, 60.00, 12.78°)
OKLaboklab(58.72% 0.1773 0.0337)
OKLCHoklch(58.72% 0.18 10.8)
XYZxyz(30.0531, 17.9626, 13.4375)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04062 #40D0AE
analogous
#D040AA #D04062 #D06640
triadic
#D04062 #62D040 #4062D0
tetradic
#D04062 #AAD040 #40D0AE #6640D0
square
#D04062 #AAD040 #40D0AE #6640D0
split-complementary
#D04062 #40D066 #40AAD0
monochromatic
#781E33 #A92A48 #D04062 #DC718A #E8A2B3

Accessibility & contrast

On white

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

On black

4.59
#D04062 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04062
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04062#FFFFFF#000000##000000
##D040621.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636363
Deuteranopia (green-blind)
#88805E
Tritanopia (blue-blind)
#E3224E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d04062;
/* rgb */ color: rgb(208, 64, 98);
/* oklch */ color: oklch(58.7% 0.180 10.8);
Tailwind
colors: {
  custom: {
    50: '#e57e8e',
    500: '#d04062',
    950: '#000000',
  },
}
SCSS
$custom: #d04062;
$custom-light: #e57e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d04062",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 345.833,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.18049,
    "h": 10.8
  },
  "luminance": 0.17959
}

Semantic roles & 50–950 ramp

primary
#D04062
secondary
#97D5C6
accent
#E4BE44
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #D04062

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

Preview Lab → · Contrast checker → · Palette generator →

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