#D1508D#D1508D

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

Color values

HEX#D1508D
RGBrgb(209, 80, 141)
HSLhsl(332, 58%, 57%)
HSVhsv(332, 62%, 82%)
CMYKcmyk(0%, 61.7%, 32.5%, 18%)
CIE-LABlab(53.19, 56.61, -7.13)
CIE-LCHlch(53.19, 57.06, 352.82°)
OKLaboklab(61.92% 0.1726 -0.0181)
OKLCHoklch(61.92% 0.174 354)
XYZxyz(33.9726, 21.2193, 27.5008)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1508D #50D194
analogous
#D150CE #D1508D #D15450
triadic
#D1508D #8DD150 #508DD1
tetradic
#D1508D #CED150 #50D194 #5450D1
square
#D1508D #CED150 #50D194 #5450D1
split-complementary
#D1508D #50D154 #50CED1
monochromatic
#842351 #B42F6E #D1508D #DE80AD #EAB1CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1508D#FFFFFF#000000##000000
##D1508D1.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)
#64708F
Deuteranopia (green-blind)
#87888A
Tritanopia (blue-blind)
#E04868
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d1508d;
/* rgb */ color: rgb(209, 80, 141);
/* oklch */ color: oklch(61.9% 0.174 354.0);
Tailwind
colors: {
  custom: {
    50: '#e388ae',
    500: '#d1508d',
    950: '#000000',
  },
}
SCSS
$custom: #d1508d;
$custom-light: #e388ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d1508d",
  "rgb": {
    "r": 209,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 331.628,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.17351,
    "h": 354
  },
  "luminance": 0.21216
}

Semantic roles & 50–950 ramp

primary
#D1508D
secondary
#A4D9C0
accent
#E29846
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D1508D

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

Preview Lab → · Contrast checker → · Palette generator →

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