#D1508F#D1508F

#D1508F is a mid, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.174 H 353.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#D1508F
RGBrgb(209, 80, 143)
HSLhsl(331, 58%, 57%)
HSVhsv(331, 62%, 82%)
CMYKcmyk(0%, 61.7%, 31.6%, 18%)
CIE-LABlab(53.25, 56.85, -8.22)
CIE-LCHlch(53.25, 57.45, 351.77°)
OKLaboklab(61.99% 0.1732 -0.021)
OKLCHoklch(61.99% 0.174 353.1)
XYZxyz(34.1228, 21.2794, 28.2916)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1508F #50D192
analogous
#D150CF #D1508F #D15250
triadic
#D1508F #8FD150 #508FD1
tetradic
#D1508F #CFD150 #50D192 #5250D1
square
#D1508F #CFD150 #50D192 #5250D1
split-complementary
#D1508F #50D152 #50CFD1
monochromatic
#842352 #B42F70 #D1508F #DE80AE #EAB1CD

Accessibility & contrast

On white

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

On black

5.26
#D1508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1508F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1508F#FFFFFF#000000##000000
##D1508F1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#637091
Deuteranopia (green-blind)
#87888C
Tritanopia (blue-blind)
#E04869
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d1508f;
/* rgb */ color: rgb(209, 80, 143);
/* oklch */ color: oklch(62.0% 0.174 353.1);
Tailwind
colors: {
  custom: {
    50: '#e388af',
    500: '#d1508f',
    950: '#000000',
  },
}
SCSS
$custom: #d1508f;
$custom-light: #e388af;
$custom-dark: #000000;
JSON
{
  "hex": "#d1508f",
  "rgb": {
    "r": 209,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 330.698,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.17443,
    "h": 353.1
  },
  "luminance": 0.21276
}

Semantic roles & 50–950 ramp

primary
#D1508F
secondary
#A4D9BF
accent
#E29646
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D1508F

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

Preview Lab → · Contrast checker → · Palette generator →

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