#951F76#951F76

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

Color values

HEX#951F76
RGBrgb(149, 31, 118)
HSLhsl(316, 66%, 35%)
HSVhsv(316, 79%, 58%)
CMYKcmyk(0%, 79.2%, 20.8%, 41.6%)
CIE-LABlab(35.36, 55.59, -21.14)
CIE-LCHlch(35.36, 59.47, 339.18°)
OKLaboklab(46.62% 0.1667 -0.0569)
OKLCHoklch(46.62% 0.176 341.1)
XYZxyz(16.1550, 8.6792, 17.9605)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F76 #1F953E
analogous
#791F95 #951F76 #951F3B
triadic
#951F76 #76951F #1F7695
tetradic
#951F76 #95791F #1F953E #1F3B95
square
#951F76 #95791F #1F953E #1F3B95
split-complementary
#951F76 #3B951F #1F9579
monochromatic
#300A26 #62144E #951F76 #C82A9E #DB53B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951F76#FFFFFF#000000##FFFFFF
##951F761.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#505A73
Tritanopia (blue-blind)
#9E2249
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951f76;
/* rgb */ color: rgb(149, 31, 118);
/* oklch */ color: oklch(46.6% 0.176 341.1);
Tailwind
colors: {
  custom: {
    50: '#b8699d',
    500: '#951f76',
    950: '#000000',
  },
}
SCSS
$custom: #951f76;
$custom-light: #b8699d;
$custom-dark: #000000;
JSON
{
  "hex": "#951f76",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 315.763,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.17615,
    "h": 341.1
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#951F76
secondary
#51BF6E
accent
#E96C3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951F76

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

Preview Lab → · Contrast checker → · Palette generator →

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