#D04F8E#D04F8E

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

Color values

HEX#D04F8E
RGBrgb(208, 79, 142)
HSLhsl(331, 58%, 56%)
HSVhsv(331, 62%, 82%)
CMYKcmyk(0%, 62%, 31.7%, 18.4%)
CIE-LABlab(52.90, 56.86, -8.17)
CIE-LCHlch(52.90, 57.45, 351.83°)
OKLaboklab(61.69% 0.1732 -0.0209)
OKLCHoklch(61.69% 0.174 353.1)
XYZxyz(33.6926, 20.9584, 27.8569)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F8E #4FD091
analogous
#D04FCF #D04F8E #D0514F
triadic
#D04F8E #8ED04F #4F8ED0
tetradic
#D04F8E #CFD04F #4FD091 #514FD0
square
#D04F8E #CFD04F #4FD091 #514FD0
split-complementary
#D04F8E #4FD051 #4FCFD0
monochromatic
#822351 #B2306F #D04F8E #DD7FAD #EAB0CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04F8E#FFFFFF#000000##000000
##D04F8E1.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)
#627090
Deuteranopia (green-blind)
#86878B
Tritanopia (blue-blind)
#DF4768
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04f8e;
/* rgb */ color: rgb(208, 79, 142);
/* oklch */ color: oklch(61.7% 0.174 353.1);
Tailwind
colors: {
  custom: {
    50: '#e287af',
    500: '#d04f8e',
    950: '#000000',
  },
}
SCSS
$custom: #d04f8e;
$custom-light: #e287af;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f8e",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 330.698,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.17448,
    "h": 353.1
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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