#D04A7B#D04A7B

#D04A7B is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.174 H 1.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D04A7B
RGBrgb(208, 74, 123)
HSLhsl(338, 59%, 55%)
HSVhsv(338, 64%, 82%)
CMYKcmyk(0%, 64.4%, 40.9%, 18.4%)
CIE-LABlab(51.54, 56.84, 1.16)
CIE-LCHlch(51.54, 56.85, 1.17°)
OKLaboklab(60.49% 0.1738 0.0037)
OKLCHoklch(60.49% 0.174 1.2)
XYZxyz(32.0385, 19.7413, 20.8583)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04A7B #4AD09F
analogous
#D04ABE #D04A7B #D05C4A
triadic
#D04A7B #7BD04A #4A7BD0
tetradic
#D04A7B #BED04A #4AD09F #5C4AD0
square
#D04A7B #BED04A #4AD09F #5C4AD0
split-complementary
#D04A7B #4AD05C #4ABED0
monochromatic
#7F2143 #AF2E5D #D04A7B #DD7B9E #E9ABC2

Accessibility & contrast

On white

4.24
#D04A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D04A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04A7B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04A7B#FFFFFF#000000##000000
##D04A7B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7C
Deuteranopia (green-blind)
#888478
Tritanopia (blue-blind)
#E13B5D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d04a7b;
/* rgb */ color: rgb(208, 74, 123);
/* oklch */ color: oklch(60.5% 0.174 1.2);
Tailwind
colors: {
  custom: {
    50: '#e384a1',
    500: '#d04a7b',
    950: '#000000',
  },
}
SCSS
$custom: #d04a7b;
$custom-light: #e384a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04a7b",
  "rgb": {
    "r": 208,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 338.06,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.1738,
    "h": 1.2
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#D04A7B
secondary
#9FD7C2
accent
#E2A946
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D04A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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