#D04FAB#D04FAB

#D04FAB is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.8% C 0.191 H 340.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D04FAB
RGBrgb(208, 79, 171)
HSLhsl(317, 58%, 56%)
HSVhsv(317, 62%, 82%)
CMYKcmyk(0%, 62%, 17.8%, 18.4%)
CIE-LABlab(53.97, 60.71, -23.61)
CIE-LCHlch(53.97, 65.14, 338.75°)
OKLaboklab(62.82% 0.1804 -0.0634)
OKLCHoklch(62.82% 0.191 340.6)
XYZxyz(36.1599, 21.9453, 40.8516)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FAB #4FD074
analogous
#B54FD0 #D04FAB #D04F6B
triadic
#D04FAB #ABD04F #4FABD0
tetradic
#D04FAB #D0B54F #4FD074 #4F6BD0
square
#D04FAB #D0B54F #4FD074 #4F6BD0
split-complementary
#D04FAB #6BD04F #4FD0B5
monochromatic
#822367 #B2308D #D04FAB #DD7FC2 #EAB0D9

Accessibility & contrast

On white

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

On black

5.39
#D04FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FAB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FAB#FFFFFF#000000##000000
##D04FAB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AE
Deuteranopia (green-blind)
#7D89A8
Tritanopia (blue-blind)
#DC5276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04fab;
/* rgb */ color: rgb(208, 79, 171);
/* oklch */ color: oklch(62.8% 0.191 340.6);
Tailwind
colors: {
  custom: {
    50: '#e288c4',
    500: '#d04fab',
    950: '#000000',
  },
}
SCSS
$custom: #d04fab;
$custom-light: #e288c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fab",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 317.209,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62823,
    "c": 0.19124,
    "h": 340.6
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#D04FAB
secondary
#A3D8B2
accent
#E17347
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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