#D04FA2#D04FA2

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

Color values

HEX#D04FA2
RGBrgb(208, 79, 162)
HSLhsl(321, 58%, 56%)
HSVhsv(321, 62%, 82%)
CMYKcmyk(0%, 62%, 22.1%, 18.4%)
CIE-LABlab(53.61, 59.45, -18.89)
CIE-LCHlch(53.61, 62.37, 342.37°)
OKLaboklab(62.45% 0.1785 -0.0502)
OKLCHoklch(62.45% 0.185 344.3)
XYZxyz(35.3311, 21.6138, 36.4866)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FA2 #4FD07D
analogous
#BE4FD0 #D04FA2 #D04F62
triadic
#D04FA2 #A2D04F #4FA2D0
tetradic
#D04FA2 #D0BE4F #4FD07D #4F62D0
square
#D04FA2 #D0BE4F #4FD07D #4F62D0
split-complementary
#D04FA2 #62D04F #4FD0BE
monochromatic
#822360 #B23084 #D04FA2 #DD7FBC #EAB0D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04FA2#FFFFFF#000000##000000
##D04FA21.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)
#5B72A5
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#DD4E72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04fa2;
/* rgb */ color: rgb(208, 79, 162);
/* oklch */ color: oklch(62.4% 0.185 344.3);
Tailwind
colors: {
  custom: {
    50: '#e288bd',
    500: '#d04fa2',
    950: '#000000',
  },
}
SCSS
$custom: #d04fa2;
$custom-light: #e288bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fa2",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 321.395,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62447,
    "c": 0.18543,
    "h": 344.3
  },
  "luminance": 0.2161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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