#D04FB4#D04FB4

#D04FB4 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.2% C 0.197 H 337.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D04FB4
RGBrgb(208, 79, 180)
HSLhsl(313, 58%, 56%)
HSVhsv(313, 62%, 82%)
CMYKcmyk(0%, 62%, 13.5%, 18.4%)
CIE-LABlab(54.34, 62.03, -28.27)
CIE-LCHlch(54.34, 68.17, 335.50°)
OKLaboklab(63.22% 0.182 -0.0766)
OKLCHoklch(63.22% 0.197 337.2)
XYZxyz(37.0471, 22.3002, 45.5244)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FB4 #4FD06B
analogous
#AC4FD0 #D04FB4 #D04F74
triadic
#D04FB4 #B4D04F #4FB4D0
tetradic
#D04FB4 #D0AC4F #4FD06B #4F74D0
square
#D04FB4 #D0AC4F #4FD06B #4F74D0
split-complementary
#D04FB4 #74D04F #4FD0AC
monochromatic
#82236D #B23096 #D04FB4 #DD7FC9 #EAB0DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04FB4#FFFFFF#000000##000000
##D04FB41.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)
#5275B7
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#DA557A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04fb4;
/* rgb */ color: rgb(208, 79, 180);
/* oklch */ color: oklch(63.2% 0.197 337.2);
Tailwind
colors: {
  custom: {
    50: '#e288ca',
    500: '#d04fb4',
    950: '#000000',
  },
}
SCSS
$custom: #d04fb4;
$custom-light: #e288ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fb4",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 313.023,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63221,
    "c": 0.19749,
    "h": 337.2
  },
  "luminance": 0.22297
}

Semantic roles & 50–950 ramp

primary
#D04FB4
secondary
#A3D8AE
accent
#E16847
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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