#D04DBB#D04DBB

#D04DBB is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.205 H 334.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D04DBB
RGBrgb(208, 77, 187)
HSLhsl(310, 58%, 56%)
HSVhsv(310, 63%, 82%)
CMYKcmyk(0%, 63%, 10.1%, 18.4%)
CIE-LABlab(54.35, 63.92, -32.31)
CIE-LCHlch(54.35, 71.62, 333.19°)
OKLaboklab(63.33% 0.1855 -0.0881)
OKLCHoklch(63.33% 0.205 334.6)
XYZxyz(37.6362, 22.3085, 49.3278)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DBB #4DD062
analogous
#A34DD0 #D04DBB #D04D79
triadic
#D04DBB #BBD04D #4DBBD0
tetradic
#D04DBB #D0A34D #4DD062 #4D79D0
square
#D04DBB #D0A34D #4DD062 #4D79D0
split-complementary
#D04DBB #79D04D #4DD0A3
monochromatic
#812271 #B12F9C #D04DBB #DD7DCD #EAAEE0

Accessibility & contrast

On white

3.85
#D04DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D04DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DBB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DBB#FFFFFF#000000##000000
##D04DBB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d04dbb;
/* rgb */ color: rgb(208, 77, 187);
/* oklch */ color: oklch(63.3% 0.205 334.6);
Tailwind
colors: {
  custom: {
    50: '#e287d0',
    500: '#d04dbb',
    950: '#000000',
  },
}
SCSS
$custom: #d04dbb;
$custom-light: #e287d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dbb",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 309.618,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.20535,
    "h": 334.6
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#D04DBB
secondary
#A1D8AA
accent
#E15F46
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D04DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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