#D04CB5#D04CB5

#D04CB5 is a light, highly saturated pink. Relative luminance 0.219; OKLCH L 62.9% C 0.202 H 336.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D04CB5
RGBrgb(208, 76, 181)
HSLhsl(312, 58%, 56%)
HSVhsv(312, 63%, 82%)
CMYKcmyk(0%, 63.5%, 13%, 18.4%)
CIE-LABlab(53.94, 63.41, -29.48)
CIE-LCHlch(53.94, 69.93, 335.07°)
OKLaboklab(62.94% 0.1858 -0.08)
OKLCHoklch(62.94% 0.202 336.7)
XYZxyz(36.9379, 21.9181, 45.9923)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CB5 #4CD067
analogous
#A94CD0 #D04CB5 #D04C73
triadic
#D04CB5 #B5D04C #4CB5D0
tetradic
#D04CB5 #D0A94C #4CD067 #4C73D0
square
#D04CB5 #D0A94C #4CD067 #4C73D0
split-complementary
#D04CB5 #73D04C #4CD0A9
monochromatic
#80226D #B02E96 #D04CB5 #DD7CC9 #E9ADDD

Accessibility & contrast

On white

3.90
#D04CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D04CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CB5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CB5#FFFFFF#000000##000000
##D04CB51.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#7888B2
Tritanopia (blue-blind)
#DA537A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04cb5;
/* rgb */ color: rgb(208, 76, 181);
/* oklch */ color: oklch(62.9% 0.202 336.7);
Tailwind
colors: {
  custom: {
    50: '#e287cb',
    500: '#d04cb5',
    950: '#000000',
  },
}
SCSS
$custom: #d04cb5;
$custom-light: #e287cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cb5",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 312.273,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6294,
    "c": 0.20233,
    "h": 336.7
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#D04CB5
secondary
#A0D7AC
accent
#E26646
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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