#D04F8A#D04F8A

#D04F8A is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.173 H 355.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D04F8A
RGBrgb(208, 79, 138)
HSLhsl(333, 58%, 56%)
HSVhsv(333, 62%, 82%)
CMYKcmyk(0%, 62%, 33.7%, 18.4%)
CIE-LABlab(52.77, 56.39, -5.98)
CIE-LCHlch(52.77, 56.70, 353.94°)
OKLaboklab(61.55% 0.172 -0.0151)
OKLCHoklch(61.55% 0.173 355)
XYZxyz(33.3976, 20.8404, 26.3036)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F8A #4FD095
analogous
#D04FCB #D04F8A #D0554F
triadic
#D04F8A #8AD04F #4F8AD0
tetradic
#D04F8A #CBD04F #4FD095 #554FD0
square
#D04F8A #CBD04F #4FD095 #554FD0
split-complementary
#D04F8A #4FD055 #4FCBD0
monochromatic
#82234E #B2306B #D04F8A #DD7FAA #EAB0CA

Accessibility & contrast

On white

4.06
#D04F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D04F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04F8A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04F8A#FFFFFF#000000##000000
##D04F8A1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#DF4667
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04f8a;
/* rgb */ color: rgb(208, 79, 138);
/* oklch */ color: oklch(61.6% 0.173 355.0);
Tailwind
colors: {
  custom: {
    50: '#e287ac',
    500: '#d04f8a',
    950: '#000000',
  },
}
SCSS
$custom: #d04f8a;
$custom-light: #e287ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f8a",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 332.558,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6155,
    "c": 0.17267,
    "h": 355
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#D04F8A
secondary
#A3D8C0
accent
#E19A47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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