#D4507D#D4507D

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

Color values

HEX#D4507D
RGBrgb(212, 80, 125)
HSLhsl(340, 61%, 57%)
HSVhsv(340, 62%, 83%)
CMYKcmyk(0%, 62.3%, 41%, 16.9%)
CIE-LABlab(53.19, 55.75, 2.43)
CIE-LCHlch(53.19, 55.80, 2.50°)
OKLaboklab(61.86% 0.1702 0.007)
OKLCHoklch(61.86% 0.17 2.3)
XYZxyz(33.7239, 21.2189, 21.7178)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4507D #50D4A7
analogous
#D450BF #D4507D #D46550
triadic
#D4507D #7DD450 #507DD4
tetradic
#D4507D #BFD450 #50D4A7 #6550D4
square
#D4507D #BFD450 #50D4A7 #6550D4
split-complementary
#D4507D #50D465 #50BFD4
monochromatic
#882144 #B92E5D #D4507D #E081A1 #ECB2C6

Accessibility & contrast

On white

4.01
#D4507D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D4507D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4507D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4507D#FFFFFF#000000##000000
##D4507D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#696F7E
Deuteranopia (green-blind)
#8C887A
Tritanopia (blue-blind)
#E54162
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d4507d;
/* rgb */ color: rgb(212, 80, 125);
/* oklch */ color: oklch(61.9% 0.170 2.3);
Tailwind
colors: {
  custom: {
    50: '#e688a2',
    500: '#d4507d',
    950: '#000000',
  },
}
SCSS
$custom: #d4507d;
$custom-light: #e688a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4507d",
  "rgb": {
    "r": 212,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 339.545,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61855,
    "c": 0.17037,
    "h": 2.3
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

primary
#D4507D
secondary
#A5DBC8
accent
#E4AD44
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D4507D

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

Preview Lab → · Contrast checker → · Palette generator →

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