#D04FB7#D04FB7

#D04FB7 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.4% C 0.200 H 336.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D04FB7
RGBrgb(208, 79, 183)
HSLhsl(312, 58%, 56%)
HSVhsv(312, 62%, 82%)
CMYKcmyk(0%, 62%, 12%, 18.4%)
CIE-LABlab(54.47, 62.48, -29.81)
CIE-LCHlch(54.47, 69.23, 334.50°)
OKLaboklab(63.36% 0.1825 -0.0809)
OKLCHoklch(63.36% 0.2 336.1)
XYZxyz(37.3561, 22.4238, 47.1513)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FB7 #4FD068
analogous
#A94FD0 #D04FB7 #D04F77
triadic
#D04FB7 #B7D04F #4FB7D0
tetradic
#D04FB7 #D0A94F #4FD068 #4F77D0
square
#D04FB7 #D0A94F #4FD068 #4F77D0
split-complementary
#D04FB7 #77D04F #4FD0A9
monochromatic
#82236F #B23099 #D04FB7 #DD7FCB #EAB0DF

Accessibility & contrast

On white

3.83
#D04FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D04FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FB7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FB7#FFFFFF#000000##000000
##D04FB71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#7989B4
Tritanopia (blue-blind)
#DA567C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04fb7;
/* rgb */ color: rgb(208, 79, 183);
/* oklch */ color: oklch(63.4% 0.200 336.1);
Tailwind
colors: {
  custom: {
    50: '#e288cd',
    500: '#d04fb7',
    950: '#000000',
  },
}
SCSS
$custom: #d04fb7;
$custom-light: #e288cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fb7",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 311.628,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.19965,
    "h": 336.1
  },
  "luminance": 0.22421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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