#951D7C#951D7C

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

Color values

HEX#951D7C
RGBrgb(149, 29, 124)
HSLhsl(313, 67%, 35%)
HSVhsv(313, 81%, 58%)
CMYKcmyk(0%, 80.5%, 16.8%, 41.6%)
CIE-LABlab(35.45, 57.00, -24.76)
CIE-LCHlch(35.45, 62.15, 336.52°)
OKLaboklab(46.78% 0.1692 -0.0672)
OKLCHoklch(46.78% 0.182 338.3)
XYZxyz(16.4723, 8.7252, 19.8815)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D7C #1D9536
analogous
#721D95 #951D7C #951D40
triadic
#951D7C #7C951D #1D7C95
tetradic
#951D7C #95721D #1D9536 #1D4095
square
#951D7C #95721D #1D9536 #1D4095
split-complementary
#951D7C #40951D #1D9572
monochromatic
#2F0927 #621351 #951D7C #C827A7 #DD50BF

Accessibility & contrast

On white

7.65
#951D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#951D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D7C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D7C#FFFFFF#000000##FFFFFF
##951D7C1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487E
Deuteranopia (green-blind)
#4D5A79
Tritanopia (blue-blind)
#9E244B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951d7c;
/* rgb */ color: rgb(149, 29, 124);
/* oklch */ color: oklch(46.8% 0.182 338.3);
Tailwind
colors: {
  custom: {
    50: '#b868a2',
    500: '#951d7c',
    950: '#000000',
  },
}
SCSS
$custom: #951d7c;
$custom-light: #b868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#951d7c",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 312.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46776,
    "c": 0.18204,
    "h": 338.3
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#951D7C
secondary
#4EC066
accent
#EA613D
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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