#D158A2#D158A2

#D158A2 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.7% C 0.173 H 345.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D158A2
RGBrgb(209, 88, 162)
HSLhsl(323, 57%, 58%)
HSVhsv(323, 58%, 82%)
CMYKcmyk(0%, 57.9%, 22.5%, 18%)
CIE-LABlab(55.22, 55.79, -16.43)
CIE-LCHlch(55.22, 58.16, 343.59°)
OKLaboklab(63.67% 0.1675 -0.0435)
OKLCHoklch(63.67% 0.173 345.4)
XYZxyz(36.3069, 23.1467, 36.7310)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158A2 #58D187
analogous
#C458D1 #D158A2 #D15865
triadic
#D158A2 #A2D158 #58A2D1
tetradic
#D158A2 #D1C458 #58D187 #5865D1
square
#D158A2 #D1C458 #58D187 #5865D1
split-complementary
#D158A2 #65D158 #58D1C4
monochromatic
#892662 #B93385 #D158A2 #DE88BD #EBB8D7

Accessibility & contrast

On white

3.73
#D158A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D158A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158A2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158A2#FFFFFF#000000##000000
##D158A21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#858C9F
Tritanopia (blue-blind)
#DE5676
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d158a2;
/* rgb */ color: rgb(209, 88, 162);
/* oklch */ color: oklch(63.7% 0.173 345.4);
Tailwind
colors: {
  custom: {
    50: '#e28dbd',
    500: '#d158a2',
    950: '#000000',
  },
}
SCSS
$custom: #d158a2;
$custom-light: #e28dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d158a2",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 323.306,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63665,
    "c": 0.17307,
    "h": 345.4
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#D158A2
secondary
#AADABD
accent
#E08348
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D12
muted
#847D81

Preview Lab

Preview with #D158A2

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

Preview Lab → · Contrast checker → · Palette generator →

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