#D04CB2#D04CB2

#D04CB2 is a light, highly saturated pink. Relative luminance 0.218; OKLCH L 62.8% C 0.200 H 337.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D04CB2
RGBrgb(208, 76, 178)
HSLhsl(314, 58%, 56%)
HSVhsv(314, 63%, 82%)
CMYKcmyk(0%, 63.5%, 14.4%, 18.4%)
CIE-LABlab(53.81, 62.97, -27.94)
CIE-LCHlch(53.81, 68.89, 336.08°)
OKLaboklab(62.8% 0.1854 -0.0756)
OKLCHoklch(62.8% 0.2 337.8)
XYZxyz(36.6333, 21.7963, 44.3886)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CB2 #4CD06A
analogous
#AC4CD0 #D04CB2 #D04C70
triadic
#D04CB2 #B2D04C #4CB2D0
tetradic
#D04CB2 #D0AC4C #4CD06A #4C70D0
square
#D04CB2 #D0AC4C #4CD06A #4C70D0
split-complementary
#D04CB2 #70D04C #4CD0AC
monochromatic
#80226B #B02E93 #D04CB2 #DD7CC7 #E9ADDC

Accessibility & contrast

On white

3.92
#D04CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D04CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CB2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CB2#FFFFFF#000000##000000
##D04CB21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B5
Deuteranopia (green-blind)
#7988AF
Tritanopia (blue-blind)
#DB5278
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04cb2;
/* rgb */ color: rgb(208, 76, 178);
/* oklch */ color: oklch(62.8% 0.200 337.8);
Tailwind
colors: {
  custom: {
    50: '#e286c9',
    500: '#d04cb2',
    950: '#000000',
  },
}
SCSS
$custom: #d04cb2;
$custom-light: #e286c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cb2",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 313.636,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62803,
    "c": 0.20021,
    "h": 337.8
  },
  "luminance": 0.21793
}

Semantic roles & 50–950 ramp

primary
#D04CB2
secondary
#A0D7AD
accent
#E26A46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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