#D04F8D#D04F8D

#D04F8D is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.174 H 353.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D04F8D
RGBrgb(208, 79, 141)
HSLhsl(331, 58%, 56%)
HSVhsv(331, 62%, 82%)
CMYKcmyk(0%, 62%, 32.2%, 18.4%)
CIE-LABlab(52.87, 56.74, -7.62)
CIE-LCHlch(52.87, 57.25, 352.35°)
OKLaboklab(61.65% 0.1729 -0.0194)
OKLCHoklch(61.65% 0.174 353.6)
XYZxyz(33.6178, 20.9285, 27.4633)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F8D #4FD092
analogous
#D04FCE #D04F8D #D0524F
triadic
#D04F8D #8DD04F #4F8DD0
tetradic
#D04F8D #CED04F #4FD092 #524FD0
square
#D04F8D #CED04F #4FD092 #524FD0
split-complementary
#D04F8D #4FD052 #4FCED0
monochromatic
#822350 #B2306E #D04F8D #DD7FAC #EAB0CC

Accessibility & contrast

On white

4.05
#D04F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D04F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04F8D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04F8D#FFFFFF#000000##000000
##D04F8D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8F
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#DF4768
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04f8d;
/* rgb */ color: rgb(208, 79, 141);
/* oklch */ color: oklch(61.7% 0.174 353.6);
Tailwind
colors: {
  custom: {
    50: '#e287ae',
    500: '#d04f8d',
    950: '#000000',
  },
}
SCSS
$custom: #d04f8d;
$custom-light: #e287ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f8d",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 331.163,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.17401,
    "h": 353.6
  },
  "luminance": 0.20925
}

Semantic roles & 50–950 ramp

primary
#D04F8D
secondary
#A3D8BE
accent
#E19747
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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