#951D7D#951D7D

#951D7D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.183 H 337.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#951D7D
RGBrgb(149, 29, 125)
HSLhsl(312, 67%, 35%)
HSVhsv(312, 81%, 58%)
CMYKcmyk(0%, 80.5%, 16.1%, 41.6%)
CIE-LABlab(35.50, 57.14, -25.31)
CIE-LCHlch(35.50, 62.50, 336.11°)
OKLaboklab(46.83% 0.1693 -0.0688)
OKLCHoklch(46.83% 0.183 337.9)
XYZxyz(16.5358, 8.7506, 20.2162)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D7D #1D9535
analogous
#711D95 #951D7D #951D41
triadic
#951D7D #7D951D #1D7D95
tetradic
#951D7D #95711D #1D9535 #1D4195
square
#951D7D #95711D #1D9535 #1D4195
split-complementary
#951D7D #41951D #1D9571
monochromatic
#2F0927 #621352 #951D7D #C827A8 #DD50C1

Accessibility & contrast

On white

7.64
#951D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D7D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D7D#FFFFFF#000000##FFFFFF
##951D7D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#9E254C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951d7d;
/* rgb */ color: rgb(149, 29, 125);
/* oklch */ color: oklch(46.8% 0.183 337.9);
Tailwind
colors: {
  custom: {
    50: '#b868a3',
    500: '#951d7d',
    950: '#000000',
  },
}
SCSS
$custom: #951d7d;
$custom-light: #b868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951d7d",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 312,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.18271,
    "h": 337.9
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#951D7D
secondary
#4EC065
accent
#EA603D
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951D7D

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

Preview Lab → · Contrast checker → · Palette generator →

#951D7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva