#D04F8F#D04F8F

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

Color values

HEX#D04F8F
RGBrgb(208, 79, 143)
HSLhsl(330, 58%, 56%)
HSVhsv(330, 62%, 82%)
CMYKcmyk(0%, 62%, 31.3%, 18.4%)
CIE-LABlab(52.94, 56.98, -8.71)
CIE-LCHlch(52.94, 57.65, 351.31°)
OKLaboklab(61.72% 0.1735 -0.0224)
OKLCHoklch(61.72% 0.175 352.7)
XYZxyz(33.7680, 20.9886, 28.2541)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F8F #4FD090
analogous
#D04FD0 #D04F8F #D0504F
triadic
#D04F8F #8FD04F #4F8FD0
tetradic
#D04F8F #D0D04F #4FD090 #504FD0
square
#D04F8F #D0D04F #4FD090 #504FD0
split-complementary
#D04F8F #4FD050 #4FD0D0
monochromatic
#822352 #B23070 #D04F8F #DD7FAE #EAB0CC

Accessibility & contrast

On white

4.04
#D04F8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D04F8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04F8F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04F8F#FFFFFF#000000##000000
##D04F8F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#627091
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#DF4769
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04f8f;
/* rgb */ color: rgb(208, 79, 143);
/* oklch */ color: oklch(61.7% 0.175 352.7);
Tailwind
colors: {
  custom: {
    50: '#e287af',
    500: '#d04f8f',
    950: '#000000',
  },
}
SCSS
$custom: #d04f8f;
$custom-light: #e287af;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f8f",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 330.233,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.17495,
    "h": 352.7
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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