#D04C7E#D04C7E

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

Color values

HEX#D04C7E
RGBrgb(208, 76, 126)
HSLhsl(337, 58%, 56%)
HSVhsv(337, 63%, 82%)
CMYKcmyk(0%, 63.5%, 39.4%, 18.4%)
CIE-LABlab(51.94, 56.32, -0.06)
CIE-LCHlch(51.94, 56.32, 359.94°)
OKLaboklab(60.81% 0.1721 0.0005)
OKLCHoklch(60.81% 0.172 0.2)
XYZxyz(32.3648, 20.0889, 21.9078)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C7E #4CD09E
analogous
#D04CC0 #D04C7E #D05C4C
triadic
#D04C7E #7ED04C #4C7ED0
tetradic
#D04C7E #C0D04C #4CD09E #5C4CD0
square
#D04C7E #C0D04C #4CD09E #5C4CD0
split-complementary
#D04C7E #4CD05C #4CC0D0
monochromatic
#802245 #B02E60 #D04C7E #DD7CA1 #E9ADC4

Accessibility & contrast

On white

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

On black

5.02
#D04C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04C7E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04C7E#FFFFFF#000000##000000
##D04C7E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#E03E60
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04c7e;
/* rgb */ color: rgb(208, 76, 126);
/* oklch */ color: oklch(60.8% 0.172 0.2);
Tailwind
colors: {
  custom: {
    50: '#e385a3',
    500: '#d04c7e',
    950: '#000000',
  },
}
SCSS
$custom: #d04c7e;
$custom-light: #e385a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c7e",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 337.273,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.17214,
    "h": 0.2
  },
  "luminance": 0.20085
}

Semantic roles & 50–950 ramp

primary
#D04C7E
secondary
#A0D7C3
accent
#E2A746
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D04C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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