#D04FB8#D04FB8

#D04FB8 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.4% C 0.200 H 335.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D04FB8
RGBrgb(208, 79, 184)
HSLhsl(311, 58%, 56%)
HSVhsv(311, 62%, 82%)
CMYKcmyk(0%, 62%, 11.5%, 18.4%)
CIE-LABlab(54.52, 62.64, -30.32)
CIE-LCHlch(54.52, 69.59, 334.17°)
OKLaboklab(63.41% 0.1827 -0.0824)
OKLCHoklch(63.41% 0.2 335.7)
XYZxyz(37.4605, 22.4656, 47.7014)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FB8 #4FD067
analogous
#A84FD0 #D04FB8 #D04F78
triadic
#D04FB8 #B8D04F #4FB8D0
tetradic
#D04FB8 #D0A84F #4FD067 #4F78D0
square
#D04FB8 #D0A84F #4FD067 #4F78D0
split-complementary
#D04FB8 #78D04F #4FD0A8
monochromatic
#822370 #B2309A #D04FB8 #DD7FCB #EAB0DF

Accessibility & contrast

On white

3.82
#D04FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D04FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FB8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FB8#FFFFFF#000000##000000
##D04FB81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#7989B5
Tritanopia (blue-blind)
#DA567C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04fb8;
/* rgb */ color: rgb(208, 79, 184);
/* oklch */ color: oklch(63.4% 0.200 335.7);
Tailwind
colors: {
  custom: {
    50: '#e288cd',
    500: '#d04fb8',
    950: '#000000',
  },
}
SCSS
$custom: #d04fb8;
$custom-light: #e288cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fb8",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 311.163,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63405,
    "c": 0.20039,
    "h": 335.7
  },
  "luminance": 0.22463
}

Semantic roles & 50–950 ramp

primary
#D04FB8
secondary
#A3D8AD
accent
#E16347
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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