#D04D7B#D04D7B

#D04D7B is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.170 H 1.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D04D7B
RGBrgb(208, 77, 123)
HSLhsl(339, 58%, 56%)
HSVhsv(339, 63%, 82%)
CMYKcmyk(0%, 63%, 40.9%, 18.4%)
CIE-LABlab(52.01, 55.58, 1.84)
CIE-LCHlch(52.01, 55.61, 1.89°)
OKLaboklab(60.83% 0.1698 0.0054)
OKLCHoklch(60.83% 0.17 1.8)
XYZxyz(32.2436, 20.1515, 20.9267)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D7B #4DD0A2
analogous
#D04DBC #D04D7B #D0604D
triadic
#D04D7B #7BD04D #4D7BD0
tetradic
#D04D7B #BCD04D #4DD0A2 #604DD0
square
#D04D7B #BCD04D #4DD0A2 #604DD0
split-complementary
#D04D7B #4DD060 #4DBCD0
monochromatic
#812243 #B12F5D #D04D7B #DD7D9F #EAAEC3

Accessibility & contrast

On white

4.18
#D04D7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D04D7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D7B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D7B#FFFFFF#000000##000000
##D04D7B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7C
Deuteranopia (green-blind)
#898578
Tritanopia (blue-blind)
#E13E5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04d7b;
/* rgb */ color: rgb(208, 77, 123);
/* oklch */ color: oklch(60.8% 0.170 1.8);
Tailwind
colors: {
  custom: {
    50: '#e386a1',
    500: '#d04d7b',
    950: '#000000',
  },
}
SCSS
$custom: #d04d7b;
$custom-light: #e386a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d7b",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 338.931,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60833,
    "c": 0.16987,
    "h": 1.8
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#D04D7B
secondary
#A1D8C4
accent
#E1AB46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #D04D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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