#D04FAC#D04FAC

#D04FAC is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.9% C 0.192 H 340.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D04FAC
RGBrgb(208, 79, 172)
HSLhsl(317, 58%, 56%)
HSVhsv(317, 62%, 82%)
CMYKcmyk(0%, 62%, 17.3%, 18.4%)
CIE-LABlab(54.01, 60.85, -24.13)
CIE-LCHlch(54.01, 65.46, 338.37°)
OKLaboklab(62.87% 0.1806 -0.0649)
OKLCHoklch(62.87% 0.192 340.2)
XYZxyz(36.2556, 21.9836, 41.3555)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FAC #4FD073
analogous
#B44FD0 #D04FAC #D04F6C
triadic
#D04FAC #ACD04F #4FACD0
tetradic
#D04FAC #D0B44F #4FD073 #4F6CD0
square
#D04FAC #D0B44F #4FD073 #4F6CD0
split-complementary
#D04FAC #6CD04F #4FD0B4
monochromatic
#822367 #B2308E #D04FAC #DD7FC3 #EAB0DA

Accessibility & contrast

On white

3.89
#D04FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D04FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FAC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FAC#FFFFFF#000000##000000
##D04FAC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#7D89A9
Tritanopia (blue-blind)
#DC5276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04fac;
/* rgb */ color: rgb(208, 79, 172);
/* oklch */ color: oklch(62.9% 0.192 340.2);
Tailwind
colors: {
  custom: {
    50: '#e288c5',
    500: '#d04fac',
    950: '#000000',
  },
}
SCSS
$custom: #d04fac;
$custom-light: #e288c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fac",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 316.744,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62867,
    "c": 0.19191,
    "h": 340.2
  },
  "luminance": 0.2198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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