#D158BC#D158BC

#D158BC is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.8% C 0.191 H 334.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#D158BC
RGBrgb(209, 88, 188)
HSLhsl(310, 57%, 58%)
HSVhsv(310, 58%, 82%)
CMYKcmyk(0%, 57.9%, 10%, 18%)
CIE-LABlab(56.26, 59.66, -29.91)
CIE-LCHlch(56.26, 66.74, 333.37°)
OKLaboklab(64.77% 0.173 -0.0813)
OKLCHoklch(64.77% 0.191 334.8)
XYZxyz(38.8615, 24.1685, 50.1854)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158BC #58D16D
analogous
#A958D1 #D158BC #D1587F
triadic
#D158BC #BCD158 #58BCD1
tetradic
#D158BC #D1A958 #58D16D #587FD1
square
#D158BC #D1A958 #58D16D #587FD1
split-complementary
#D158BC #7FD158 #58D1A9
monochromatic
#892678 #B933A2 #D158BC #DE88CF #EBB8E3

Accessibility & contrast

On white

3.60
#D158BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#D158BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158BC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158BC#FFFFFF#000000##000000
##D158BC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBF
Deuteranopia (green-blind)
#7D8DB9
Tritanopia (blue-blind)
#DA5F82
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d158bc;
/* rgb */ color: rgb(209, 88, 188);
/* oklch */ color: oklch(64.8% 0.191 334.8);
Tailwind
colors: {
  custom: {
    50: '#e28dd0',
    500: '#d158bc',
    950: '#000000',
  },
}
SCSS
$custom: #d158bc;
$custom-light: #e28dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d158bc",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 310.413,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64765,
    "c": 0.19113,
    "h": 334.8
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#D158BC
secondary
#AADAB3
accent
#E06248
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D158BC

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

Preview Lab → · Contrast checker → · Palette generator →

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