#D158AB#D158AB

#D158AB is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.0% C 0.179 H 341.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D158AB
RGBrgb(209, 88, 171)
HSLhsl(319, 57%, 58%)
HSVhsv(319, 58%, 82%)
CMYKcmyk(0%, 57.9%, 18.2%, 18%)
CIE-LABlab(55.56, 57.07, -21.15)
CIE-LCHlch(55.56, 60.87, 339.66°)
OKLaboklab(64.03% 0.1697 -0.0566)
OKLCHoklch(64.03% 0.179 341.5)
XYZxyz(37.1357, 23.4782, 41.0961)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158AB #58D17E
analogous
#BA58D1 #D158AB #D1586E
triadic
#D158AB #ABD158 #58ABD1
tetradic
#D158AB #D1BA58 #58D17E #586ED1
square
#D158AB #D1BA58 #58D17E #586ED1
split-complementary
#D158AB #6ED158 #58D1BA
monochromatic
#89266A #B9338F #D158AB #DE88C3 #EBB8DB

Accessibility & contrast

On white

3.69
#D158AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D158AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158AB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158AB#FFFFFF#000000##000000
##D158AB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6079AE
Deuteranopia (green-blind)
#838CA8
Tritanopia (blue-blind)
#DD597A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d158ab;
/* rgb */ color: rgb(209, 88, 171);
/* oklch */ color: oklch(64.0% 0.179 341.5);
Tailwind
colors: {
  custom: {
    50: '#e28dc4',
    500: '#d158ab',
    950: '#000000',
  },
}
SCSS
$custom: #d158ab;
$custom-light: #e28dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d158ab",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 318.843,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64026,
    "c": 0.17886,
    "h": 341.5
  },
  "luminance": 0.23475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D158AB

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

Preview Lab → · Contrast checker → · Palette generator →

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