#D04CBB#D04CBB

#D04CBB is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.2% C 0.207 H 334.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D04CBB
RGBrgb(208, 76, 187)
HSLhsl(310, 58%, 56%)
HSVhsv(310, 63%, 82%)
CMYKcmyk(0%, 63.5%, 10.1%, 18.4%)
CIE-LABlab(54.21, 64.32, -32.54)
CIE-LCHlch(54.21, 72.08, 333.17°)
OKLaboklab(63.22% 0.1867 -0.0887)
OKLCHoklch(63.22% 0.207 334.6)
XYZxyz(37.5668, 22.1696, 49.3047)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CBB #4CD061
analogous
#A34CD0 #D04CBB #D04C79
triadic
#D04CBB #BBD04C #4CBBD0
tetradic
#D04CBB #D0A34C #4CD061 #4C79D0
square
#D04CBB #D0A34C #4CD061 #4C79D0
split-complementary
#D04CBB #79D04C #4CD0A3
monochromatic
#802271 #B02E9C #D04CBB #DD7CCD #E9ADE0

Accessibility & contrast

On white

3.86
#D04CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D04CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CBB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CBB#FFFFFF#000000##000000
##D04CBB1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#7689B8
Tritanopia (blue-blind)
#DA557D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04cbb;
/* rgb */ color: rgb(208, 76, 187);
/* oklch */ color: oklch(63.2% 0.207 334.6);
Tailwind
colors: {
  custom: {
    50: '#e287d0',
    500: '#d04cbb',
    950: '#000000',
  },
}
SCSS
$custom: #d04cbb;
$custom-light: #e287d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cbb",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 309.545,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63221,
    "c": 0.2067,
    "h": 334.6
  },
  "luminance": 0.22167
}

Semantic roles & 50–950 ramp

primary
#D04CBB
secondary
#A0D7A9
accent
#E25F46
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D04CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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