#D04FA1#D04FA1

#D04FA1 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.4% C 0.185 H 344.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D04FA1
RGBrgb(208, 79, 161)
HSLhsl(322, 58%, 56%)
HSVhsv(322, 62%, 82%)
CMYKcmyk(0%, 62%, 22.6%, 18.4%)
CIE-LABlab(53.58, 59.31, -18.36)
CIE-LCHlch(53.58, 62.09, 342.80°)
OKLaboklab(62.41% 0.1783 -0.0488)
OKLCHoklch(62.41% 0.185 344.7)
XYZxyz(35.2426, 21.5784, 36.0203)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FA1 #4FD07E
analogous
#BF4FD0 #D04FA1 #D04F61
triadic
#D04FA1 #A1D04F #4FA1D0
tetradic
#D04FA1 #D0BF4F #4FD07E #4F61D0
square
#D04FA1 #D0BF4F #4FD07E #4F61D0
split-complementary
#D04FA1 #61D04F #4FD0BF
monochromatic
#82235F #B23083 #D04FA1 #DD7FBB #EAB0D5

Accessibility & contrast

On white

3.95
#D04FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D04FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FA1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FA1#FFFFFF#000000##000000
##D04FA11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A3
Deuteranopia (green-blind)
#81889E
Tritanopia (blue-blind)
#DD4E71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04fa1;
/* rgb */ color: rgb(208, 79, 161);
/* oklch */ color: oklch(62.4% 0.185 344.7);
Tailwind
colors: {
  custom: {
    50: '#e288bd',
    500: '#d04fa1',
    950: '#000000',
  },
}
SCSS
$custom: #d04fa1;
$custom-light: #e288bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fa1",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 321.86,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.18481,
    "h": 344.7
  },
  "luminance": 0.21575
}

Semantic roles & 50–950 ramp

primary
#D04FA1
secondary
#A3D8B6
accent
#E17F47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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