#D4507E#D4507E

#D4507E is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.171 H 1.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D4507E
RGBrgb(212, 80, 126)
HSLhsl(339, 61%, 57%)
HSVhsv(339, 62%, 83%)
CMYKcmyk(0%, 62.3%, 40.6%, 16.9%)
CIE-LABlab(53.22, 55.85, 1.88)
CIE-LCHlch(53.22, 55.88, 1.93°)
OKLaboklab(61.88% 0.1706 0.0055)
OKLCHoklch(61.88% 0.171 1.9)
XYZxyz(33.7882, 21.2446, 22.0559)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4507E #50D4A6
analogous
#D450C0 #D4507E #D46450
triadic
#D4507E #7ED450 #507ED4
tetradic
#D4507E #C0D450 #50D4A6 #6450D4
square
#D4507E #C0D450 #50D4A6 #6450D4
split-complementary
#D4507E #50D464 #50C0D4
monochromatic
#882145 #B92E5E #D4507E #E081A2 #ECB2C6

Accessibility & contrast

On white

4.00
#D4507E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D4507E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4507E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4507E#FFFFFF#000000##000000
##D4507E1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#696F7F
Deuteranopia (green-blind)
#8C897B
Tritanopia (blue-blind)
#E54262
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d4507e;
/* rgb */ color: rgb(212, 80, 126);
/* oklch */ color: oklch(61.9% 0.171 1.9);
Tailwind
colors: {
  custom: {
    50: '#e688a3',
    500: '#d4507e',
    950: '#000000',
  },
}
SCSS
$custom: #d4507e;
$custom-light: #e688a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4507e",
  "rgb": {
    "r": 212,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 339.091,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.17066,
    "h": 1.9
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#D4507E
secondary
#A5DBC8
accent
#E4AC44
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D4507E

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

Preview Lab → · Contrast checker → · Palette generator →

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