#951F79#951F79

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

Color values

HEX#951F79
RGBrgb(149, 31, 121)
HSLhsl(314, 66%, 35%)
HSVhsv(314, 79%, 58%)
CMYKcmyk(0%, 79.2%, 18.8%, 41.6%)
CIE-LABlab(35.50, 56.01, -22.80)
CIE-LCHlch(35.50, 60.47, 337.85°)
OKLaboklab(46.77% 0.1671 -0.0617)
OKLCHoklch(46.77% 0.178 339.7)
XYZxyz(16.3361, 8.7517, 18.9144)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F79 #1F953B
analogous
#761F95 #951F79 #951F3E
triadic
#951F79 #79951F #1F7995
tetradic
#951F79 #95761F #1F953B #1F3E95
square
#951F79 #95761F #1F953B #1F3E95
split-complementary
#951F79 #3E951F #1F9576
monochromatic
#300A27 #621450 #951F79 #C82AA2 #DB53BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951F79#FFFFFF#000000##FFFFFF
##951F791.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)
#28487B
Deuteranopia (green-blind)
#4F5A76
Tritanopia (blue-blind)
#9E244A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951f79;
/* rgb */ color: rgb(149, 31, 121);
/* oklch */ color: oklch(46.8% 0.178 339.7);
Tailwind
colors: {
  custom: {
    50: '#b869a0',
    500: '#951f79',
    950: '#000000',
  },
}
SCSS
$custom: #951f79;
$custom-light: #b869a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951f79",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 314.237,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46766,
    "c": 0.17811,
    "h": 339.7
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#951F79
secondary
#51BF6B
accent
#E9673F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951F79

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

Preview Lab → · Contrast checker → · Palette generator →

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