#D04FA8#D04FA8

#D04FA8 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.189 H 341.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D04FA8
RGBrgb(208, 79, 168)
HSLhsl(319, 58%, 56%)
HSVhsv(319, 62%, 82%)
CMYKcmyk(0%, 62%, 19.2%, 18.4%)
CIE-LABlab(53.85, 60.28, -22.05)
CIE-LCHlch(53.85, 64.19, 339.91°)
OKLaboklab(62.7% 0.1798 -0.059)
OKLCHoklch(62.7% 0.189 341.8)
XYZxyz(35.8772, 21.8323, 39.3627)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FA8 #4FD077
analogous
#B84FD0 #D04FA8 #D04F68
triadic
#D04FA8 #A8D04F #4FA8D0
tetradic
#D04FA8 #D0B84F #4FD077 #4F68D0
square
#D04FA8 #D0B84F #4FD077 #4F68D0
split-complementary
#D04FA8 #68D04F #4FD0B8
monochromatic
#822364 #B2308A #D04FA8 #DD7FC0 #EAB0D8

Accessibility & contrast

On white

3.91
#D04FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D04FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FA8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FA8#FFFFFF#000000##000000
##D04FA81.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AB
Deuteranopia (green-blind)
#7E88A5
Tritanopia (blue-blind)
#DC5074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04fa8;
/* rgb */ color: rgb(208, 79, 168);
/* oklch */ color: oklch(62.7% 0.189 341.8);
Tailwind
colors: {
  custom: {
    50: '#e288c2',
    500: '#d04fa8',
    950: '#000000',
  },
}
SCSS
$custom: #d04fa8;
$custom-light: #e288c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fa8",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 318.605,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62696,
    "c": 0.18925,
    "h": 341.8
  },
  "luminance": 0.21829
}

Semantic roles & 50–950 ramp

primary
#D04FA8
secondary
#A3D8B3
accent
#E17747
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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