#D950B2#D950B2

#D950B2 is a light, highly saturated pink. Relative luminance 0.237; OKLCH L 64.5% C 0.201 H 340.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D950B2
RGBrgb(217, 80, 178)
HSLhsl(317, 64%, 58%)
HSVhsv(317, 63%, 85%)
CMYKcmyk(0%, 63.1%, 18%, 14.9%)
CIE-LABlab(55.79, 63.74, -24.76)
CIE-LCHlch(55.79, 68.38, 338.77°)
OKLaboklab(64.53% 0.1896 -0.0665)
OKLCHoklch(64.53% 0.201 340.7)
XYZxyz(39.5208, 23.7069, 44.6053)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D950B2 #50D977
analogous
#BB50D9 #D950B2 #D9506D
triadic
#D950B2 #B2D950 #50B2D9
tetradic
#D950B2 #D9BB50 #50D977 #506DD9
square
#D950B2 #D9BB50 #50D977 #506DD9
split-complementary
#D950B2 #6DD950 #50D9BB
monochromatic
#8F1F6F #C22A97 #D950B2 #E482C8 #EFB5DE

Accessibility & contrast

On white

3.66
#D950B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D950B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D950B2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D950B2#FFFFFF#000000##000000
##D950B21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#828EAF
Tritanopia (blue-blind)
#E5537A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d950b2;
/* rgb */ color: rgb(217, 80, 178);
/* oklch */ color: oklch(64.5% 0.201 340.7);
Tailwind
colors: {
  custom: {
    50: '#e889c9',
    500: '#d950b2',
    950: '#000000',
  },
}
SCSS
$custom: #d950b2;
$custom-light: #e889c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d950b2",
  "rgb": {
    "r": 217,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 317.08,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64526,
    "c": 0.20091,
    "h": 340.7
  },
  "luminance": 0.23703
}

Semantic roles & 50–950 ramp

primary
#D950B2
secondary
#A7DEB7
accent
#E77040
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D950B2

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

Preview Lab → · Contrast checker → · Palette generator →

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