#951B77#951B77

#951B77 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.181 H 340.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#951B77
RGBrgb(149, 27, 119)
HSLhsl(315, 69%, 35%)
HSVhsv(315, 82%, 58%)
CMYKcmyk(0%, 81.9%, 20.1%, 41.6%)
CIE-LABlab(35.02, 56.84, -22.30)
CIE-LCHlch(35.02, 61.06, 338.58°)
OKLaboklab(46.39% 0.1702 -0.0602)
OKLCHoklch(46.39% 0.181 340.5)
XYZxyz(16.1166, 8.5070, 18.2424)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B77 #1B9539
analogous
#761B95 #951B77 #951B3A
triadic
#951B77 #77951B #1B7795
tetradic
#951B77 #95761B #1B9539 #1B3A95
square
#951B77 #95761B #1B9539 #1B3A95
split-complementary
#951B77 #3A951B #1B9576
monochromatic
#2D0824 #61124E #951B77 #C924A0 #DF4CBA

Accessibility & contrast

On white

7.77
#951B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#951B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B77
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B77#FFFFFF#000000##FFFFFF
##951B771.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264679
Deuteranopia (green-blind)
#4F5974
Tritanopia (blue-blind)
#9E1F48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951b77;
/* rgb */ color: rgb(149, 27, 119);
/* oklch */ color: oklch(46.4% 0.181 340.5);
Tailwind
colors: {
  custom: {
    50: '#b8679e',
    500: '#951b77',
    950: '#000000',
  },
}
SCSS
$custom: #951b77;
$custom-light: #b8679e;
$custom-dark: #000000;
JSON
{
  "hex": "#951b77",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 314.754,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.18057,
    "h": 340.5
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#951B77
secondary
#4BC168
accent
#EC673C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951B77

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

Preview Lab → · Contrast checker → · Palette generator →

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