#D04FA4#D04FA4

#D04FA4 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.187 H 343.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D04FA4
RGBrgb(208, 79, 164)
HSLhsl(320, 58%, 56%)
HSVhsv(320, 62%, 82%)
CMYKcmyk(0%, 62%, 21.2%, 18.4%)
CIE-LABlab(53.69, 59.72, -19.95)
CIE-LCHlch(53.69, 62.96, 341.53°)
OKLaboklab(62.53% 0.1789 -0.0532)
OKLCHoklch(62.53% 0.187 343.5)
XYZxyz(35.5103, 21.6855, 37.4303)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FA4 #4FD07B
analogous
#BC4FD0 #D04FA4 #D04F64
triadic
#D04FA4 #A4D04F #4FA4D0
tetradic
#D04FA4 #D0BC4F #4FD07B #4F64D0
square
#D04FA4 #D0BC4F #4FD07B #4F64D0
split-complementary
#D04FA4 #64D04F #4FD0BC
monochromatic
#822361 #B23086 #D04FA4 #DD7FBD #EAB0D6

Accessibility & contrast

On white

3.94
#D04FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D04FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FA4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FA4#FFFFFF#000000##000000
##D04FA41.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A7
Deuteranopia (green-blind)
#8088A1
Tritanopia (blue-blind)
#DD4F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04fa4;
/* rgb */ color: rgb(208, 79, 164);
/* oklch */ color: oklch(62.5% 0.187 343.5);
Tailwind
colors: {
  custom: {
    50: '#e288bf',
    500: '#d04fa4',
    950: '#000000',
  },
}
SCSS
$custom: #d04fa4;
$custom-light: #e288bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fa4",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 320.465,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62529,
    "c": 0.18667,
    "h": 343.5
  },
  "luminance": 0.21682
}

Semantic roles & 50–950 ramp

primary
#D04FA4
secondary
#A3D8B5
accent
#E17B47
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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