#D04F7E#D04F7E

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

Color values

HEX#D04F7E
RGBrgb(208, 79, 126)
HSLhsl(338, 58%, 56%)
HSVhsv(338, 62%, 82%)
CMYKcmyk(0%, 62%, 39.4%, 18.4%)
CIE-LABlab(52.41, 55.04, 0.63)
CIE-LCHlch(52.41, 55.04, 0.66°)
OKLaboklab(61.16% 0.1681 0.0023)
OKLCHoklch(61.16% 0.168 0.8)
XYZxyz(32.5764, 20.5119, 21.9783)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F7E #4FD0A1
analogous
#D04FBF #D04F7E #D0614F
triadic
#D04F7E #7ED04F #4F7ED0
tetradic
#D04F7E #BFD04F #4FD0A1 #614FD0
square
#D04F7E #BFD04F #4FD0A1 #614FD0
split-complementary
#D04F7E #4FD061 #4FBFD0
monochromatic
#822345 #B2305F #D04F7E #DD7FA1 #EAB0C5

Accessibility & contrast

On white

4.12
#D04F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D04F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04F7E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04F7E#FFFFFF#000000##000000
##D04F7E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7F
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#E04261
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04f7e;
/* rgb */ color: rgb(208, 79, 126);
/* oklch */ color: oklch(61.2% 0.168 0.8);
Tailwind
colors: {
  custom: {
    50: '#e387a3',
    500: '#d04f7e',
    950: '#000000',
  },
}
SCSS
$custom: #d04f7e;
$custom-light: #e387a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f7e",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 338.14,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.16812,
    "h": 0.8
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#D04F7E
secondary
#A3D8C5
accent
#E1A947
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D04F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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