#D04FA7#D04FA7

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

Color values

HEX#D04FA7
RGBrgb(208, 79, 167)
HSLhsl(319, 58%, 56%)
HSVhsv(319, 62%, 82%)
CMYKcmyk(0%, 62%, 19.7%, 18.4%)
CIE-LABlab(53.81, 60.14, -21.52)
CIE-LCHlch(53.81, 63.87, 340.31°)
OKLaboklab(62.65% 0.1796 -0.0576)
OKLCHoklch(62.65% 0.189 342.2)
XYZxyz(35.7844, 21.7951, 38.8740)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FA7 #4FD078
analogous
#B94FD0 #D04FA7 #D04F67
triadic
#D04FA7 #A7D04F #4FA7D0
tetradic
#D04FA7 #D0B94F #4FD078 #4F67D0
square
#D04FA7 #D0B94F #4FD078 #4F67D0
split-complementary
#D04FA7 #67D04F #4FD0B9
monochromatic
#822364 #B23089 #D04FA7 #DD7FBF #EAB0D7

Accessibility & contrast

On white

3.92
#D04FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D04FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FA7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FA7#FFFFFF#000000##000000
##D04FA71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5973AA
Deuteranopia (green-blind)
#7F88A4
Tritanopia (blue-blind)
#DC5074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04fa7;
/* rgb */ color: rgb(208, 79, 167);
/* oklch */ color: oklch(62.7% 0.189 342.2);
Tailwind
colors: {
  custom: {
    50: '#e288c1',
    500: '#d04fa7',
    950: '#000000',
  },
}
SCSS
$custom: #d04fa7;
$custom-light: #e288c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fa7",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 319.07,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62654,
    "c": 0.18859,
    "h": 342.2
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#D04FA7
secondary
#A3D8B4
accent
#E17847
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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