#D158AF#D158AF

#D158AF is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.2% C 0.182 H 339.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D158AF
RGBrgb(209, 88, 175)
HSLhsl(317, 57%, 58%)
HSVhsv(317, 58%, 82%)
CMYKcmyk(0%, 57.9%, 16.3%, 18%)
CIE-LABlab(55.72, 57.66, -23.23)
CIE-LCHlch(55.72, 62.17, 338.05°)
OKLaboklab(64.19% 0.1705 -0.0624)
OKLCHoklch(64.19% 0.182 339.9)
XYZxyz(37.5228, 23.6330, 43.1345)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158AF #58D17A
analogous
#B758D1 #D158AF #D15872
triadic
#D158AF #AFD158 #58AFD1
tetradic
#D158AF #D1B758 #58D17A #5872D1
square
#D158AF #D1B758 #58D17A #5872D1
split-complementary
#D158AF #72D158 #58D1B7
monochromatic
#89266D #B93393 #D158AF #DE88C6 #EBB8DD

Accessibility & contrast

On white

3.67
#D158AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D158AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158AF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158AF#FFFFFF#000000##000000
##D158AF1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B2
Deuteranopia (green-blind)
#818DAC
Tritanopia (blue-blind)
#DC5B7C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d158af;
/* rgb */ color: rgb(209, 88, 175);
/* oklch */ color: oklch(64.2% 0.182 339.9);
Tailwind
colors: {
  custom: {
    50: '#e28dc7',
    500: '#d158af',
    950: '#000000',
  },
}
SCSS
$custom: #d158af;
$custom-light: #e28dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d158af",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 316.86,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64193,
    "c": 0.18161,
    "h": 339.9
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#D158AF
secondary
#AADAB8
accent
#E07348
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D158AF

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

Preview Lab → · Contrast checker → · Palette generator →

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