#D95F8D#D95F8D

#D95F8D is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.0% C 0.160 H 358.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D95F8D
RGBrgb(217, 95, 141)
HSLhsl(337, 62%, 61%)
HSVhsv(337, 56%, 85%)
CMYKcmyk(0%, 56.2%, 35%, 14.9%)
CIE-LABlab(56.94, 52.37, -1.45)
CIE-LCHlch(56.94, 52.39, 358.42°)
OKLaboklab(64.96% 0.1595 -0.0031)
OKLCHoklch(64.96% 0.16 358.9)
XYZxyz(37.5172, 24.8631, 28.0174)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95F8D #5FD9AB
analogous
#D95FCA #D95F8D #D96E5F
triadic
#D95F8D #8DD95F #5F8DD9
tetradic
#D95F8D #CAD95F #5FD9AB #6E5FD9
square
#D95F8D #CAD95F #5FD9AB #6E5FD9
split-complementary
#D95F8D #5FD96E #5FCAD9
monochromatic
#992450 #CB306A #D95F8D #E590B0 #F0C2D3

Accessibility & contrast

On white

3.52
#D95F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D95F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95F8D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95F8D#FFFFFF#000000##000000
##D95F8D1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#737A8E
Deuteranopia (green-blind)
#93918A
Tritanopia (blue-blind)
#E95570
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d95f8d;
/* rgb */ color: rgb(217, 95, 141);
/* oklch */ color: oklch(65.0% 0.160 358.9);
Tailwind
colors: {
  custom: {
    50: '#e891ae',
    500: '#d95f8d',
    950: '#000000',
  },
}
SCSS
$custom: #d95f8d;
$custom-light: #e891ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d95f8d",
  "rgb": {
    "r": 217,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 337.377,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64956,
    "c": 0.15955,
    "h": 358.9
  },
  "luminance": 0.24859
}

Semantic roles & 50–950 ramp

primary
#D95F8D
secondary
#B3E1D0
accent
#C9881C
background
#FEF9FA
surface
#FDF1F4
border
#D5CBCE
text
#170D10
muted
#857E7F

Preview Lab

Preview with #D95F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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