#D04FAF#D04FAF

#D04FAF is a light, vivid pink. Relative luminance 0.221; OKLCH L 63.0% C 0.194 H 339.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D04FAF
RGBrgb(208, 79, 175)
HSLhsl(315, 58%, 56%)
HSVhsv(315, 62%, 82%)
CMYKcmyk(0%, 62%, 15.9%, 18.4%)
CIE-LABlab(54.13, 61.29, -25.69)
CIE-LCHlch(54.13, 66.45, 337.26°)
OKLaboklab(63% 0.1812 -0.0693)
OKLCHoklch(63% 0.194 339.1)
XYZxyz(36.5470, 22.1002, 42.8901)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FAF #4FD070
analogous
#B14FD0 #D04FAF #D04F6F
triadic
#D04FAF #AFD04F #4FAFD0
tetradic
#D04FAF #D0B14F #4FD070 #4F6FD0
square
#D04FAF #D0B14F #4FD070 #4F6FD0
split-complementary
#D04FAF #6FD04F #4FD0B1
monochromatic
#82236A #B23091 #D04FAF #DD7FC5 #EAB0DB

Accessibility & contrast

On white

3.87
#D04FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D04FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FAF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FAF#FFFFFF#000000##000000
##D04FAF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#DB5378
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04faf;
/* rgb */ color: rgb(208, 79, 175);
/* oklch */ color: oklch(63.0% 0.194 339.1);
Tailwind
colors: {
  custom: {
    50: '#e288c7',
    500: '#d04faf',
    950: '#000000',
  },
}
SCSS
$custom: #d04faf;
$custom-light: #e288c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04faf",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 315.349,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62998,
    "c": 0.19396,
    "h": 339.1
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#D04FAF
secondary
#A3D8B0
accent
#E16E47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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