#D158AC#D158AC

#D158AC is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.1% C 0.180 H 341.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D158AC
RGBrgb(209, 88, 172)
HSLhsl(318, 57%, 58%)
HSVhsv(318, 58%, 82%)
CMYKcmyk(0%, 57.9%, 17.7%, 18%)
CIE-LABlab(55.60, 57.22, -21.68)
CIE-LCHlch(55.60, 61.19, 339.25°)
OKLaboklab(64.07% 0.1699 -0.0581)
OKLCHoklch(64.07% 0.18 341.1)
XYZxyz(37.2314, 23.5165, 41.6000)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158AC #58D17D
analogous
#B958D1 #D158AC #D1586F
triadic
#D158AC #ACD158 #58ACD1
tetradic
#D158AC #D1B958 #58D17D #586FD1
square
#D158AC #D1B958 #58D17D #586FD1
split-complementary
#D158AC #6FD158 #58D1B9
monochromatic
#89266B #B93390 #D158AC #DE88C4 #EBB8DC

Accessibility & contrast

On white

3.68
#D158AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D158AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158AC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158AC#FFFFFF#000000##000000
##D158AC1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F79AF
Deuteranopia (green-blind)
#828CA9
Tritanopia (blue-blind)
#DC5A7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d158ac;
/* rgb */ color: rgb(209, 88, 172);
/* oklch */ color: oklch(64.1% 0.180 341.1);
Tailwind
colors: {
  custom: {
    50: '#e28dc5',
    500: '#d158ac',
    950: '#000000',
  },
}
SCSS
$custom: #d158ac;
$custom-light: #e28dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d158ac",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 318.347,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64067,
    "c": 0.17954,
    "h": 341.1
  },
  "luminance": 0.23513
}

Semantic roles & 50–950 ramp

primary
#D158AC
secondary
#AADAB9
accent
#E07648
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #D158AC

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

Preview Lab → · Contrast checker → · Palette generator →

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