#951C7C#951C7C

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

Color values

HEX#951C7C
RGBrgb(149, 28, 124)
HSLhsl(312, 68%, 35%)
HSVhsv(312, 81%, 58%)
CMYKcmyk(0%, 81.2%, 16.8%, 41.6%)
CIE-LABlab(35.35, 57.28, -24.91)
CIE-LCHlch(35.35, 62.46, 336.50°)
OKLaboklab(46.71% 0.17 -0.0676)
OKLCHoklch(46.71% 0.183 338.3)
XYZxyz(16.4482, 8.6769, 19.8735)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C7C #1C9535
analogous
#721C95 #951C7C #951C3F
triadic
#951C7C #7C951C #1C7C95
tetradic
#951C7C #95721C #1C9535 #1C3F95
square
#951C7C #95721C #1C9535 #1C3F95
split-complementary
#951C7C #3F951C #1C9572
monochromatic
#2E0926 #611251 #951C7C #C926A7 #DE4EC0

Accessibility & contrast

On white

7.68
#951C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C7C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C7C#FFFFFF#000000##FFFFFF
##951C7C1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951c7c;
/* rgb */ color: rgb(149, 28, 124);
/* oklch */ color: oklch(46.7% 0.183 338.3);
Tailwind
colors: {
  custom: {
    50: '#b868a2',
    500: '#951c7c',
    950: '#000000',
  },
}
SCSS
$custom: #951c7c;
$custom-light: #b868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#951c7c",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 312.397,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.18295,
    "h": 338.3
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#951C7C
secondary
#4DC065
accent
#EB613D
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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