#D04C7D#D04C7D

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

Color values

HEX#D04C7D
RGBrgb(208, 76, 125)
HSLhsl(338, 58%, 56%)
HSVhsv(338, 63%, 82%)
CMYKcmyk(0%, 63.5%, 39.9%, 18.4%)
CIE-LABlab(51.91, 56.21, 0.49)
CIE-LCHlch(51.91, 56.21, 0.50°)
OKLaboklab(60.78% 0.1718 0.002)
OKLCHoklch(60.78% 0.172 0.7)
XYZxyz(32.3006, 20.0632, 21.5696)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C7D #4CD09F
analogous
#D04CBF #D04C7D #D05D4C
triadic
#D04C7D #7DD04C #4C7DD0
tetradic
#D04C7D #BFD04C #4CD09F #5D4CD0
square
#D04C7D #BFD04C #4CD09F #5D4CD0
split-complementary
#D04C7D #4CD05D #4CBFD0
monochromatic
#802245 #B02E5F #D04C7D #DD7CA0 #E9ADC3

Accessibility & contrast

On white

4.19
#D04C7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D04C7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04C7D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04C7D#FFFFFF#000000##000000
##D04C7D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#E13E5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04c7d;
/* rgb */ color: rgb(208, 76, 125);
/* oklch */ color: oklch(60.8% 0.172 0.7);
Tailwind
colors: {
  custom: {
    50: '#e385a2',
    500: '#d04c7d',
    950: '#000000',
  },
}
SCSS
$custom: #d04c7d;
$custom-light: #e385a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c7d",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 337.727,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60778,
    "c": 0.17181,
    "h": 0.7
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#D04C7D
secondary
#A0D7C3
accent
#E2A846
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #D04C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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