#D04F7F#D04F7F

#D04F7F is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.2% C 0.168 H 0.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D04F7F
RGBrgb(208, 79, 127)
HSLhsl(338, 58%, 56%)
HSVhsv(338, 62%, 82%)
CMYKcmyk(0%, 62%, 38.9%, 18.4%)
CIE-LABlab(52.44, 55.14, 0.07)
CIE-LCHlch(52.44, 55.14, 0.08°)
OKLaboklab(61.19% 0.1684 0.0009)
OKLCHoklch(61.19% 0.168 0.3)
XYZxyz(32.6412, 20.5379, 22.3198)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F7F #4FD0A0
analogous
#D04FC0 #D04F7F #D0604F
triadic
#D04F7F #7FD04F #4F7FD0
tetradic
#D04F7F #C0D04F #4FD0A0 #604FD0
square
#D04F7F #C0D04F #4FD0A0 #604FD0
split-complementary
#D04F7F #4FD060 #4FC0D0
monochromatic
#822346 #B23060 #D04F7F #DD7FA2 #EAB0C5

Accessibility & contrast

On white

4.11
#D04F7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D04F7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04F7F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04F7F#FFFFFF#000000##000000
##D04F7F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E80
Deuteranopia (green-blind)
#89867C
Tritanopia (blue-blind)
#E04262
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04f7f;
/* rgb */ color: rgb(208, 79, 127);
/* oklch */ color: oklch(61.2% 0.168 0.3);
Tailwind
colors: {
  custom: {
    50: '#e387a4',
    500: '#d04f7f',
    950: '#000000',
  },
}
SCSS
$custom: #d04f7f;
$custom-light: #e387a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f7f",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 337.674,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61192,
    "c": 0.16844,
    "h": 0.3
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

primary
#D04F7F
secondary
#A3D8C4
accent
#E1A847
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D04F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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