#951F77#951F77

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

Color values

HEX#951F77
RGBrgb(149, 31, 119)
HSLhsl(315, 66%, 35%)
HSVhsv(315, 79%, 58%)
CMYKcmyk(0%, 79.2%, 20.1%, 41.6%)
CIE-LABlab(35.41, 55.73, -21.69)
CIE-LCHlch(35.41, 59.80, 338.73°)
OKLaboklab(46.67% 0.1668 -0.0585)
OKLCHoklch(46.67% 0.177 340.7)
XYZxyz(16.2147, 8.7031, 18.2751)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F77 #1F953D
analogous
#781F95 #951F77 #951F3C
triadic
#951F77 #77951F #1F7795
tetradic
#951F77 #95781F #1F953D #1F3C95
square
#951F77 #95781F #1F953D #1F3C95
split-complementary
#951F77 #3C951F #1F9578
monochromatic
#300A26 #62144F #951F77 #C82A9F #DB53B9

Accessibility & contrast

On white

7.66
#951F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F77
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F77#FFFFFF#000000##FFFFFF
##951F771.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294779
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#9E2349
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951f77;
/* rgb */ color: rgb(149, 31, 119);
/* oklch */ color: oklch(46.7% 0.177 340.7);
Tailwind
colors: {
  custom: {
    50: '#b8699e',
    500: '#951f77',
    950: '#000000',
  },
}
SCSS
$custom: #951f77;
$custom-light: #b8699e;
$custom-dark: #000000;
JSON
{
  "hex": "#951f77",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 315.254,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.1768,
    "h": 340.7
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#951F77
secondary
#51BF6D
accent
#E96A3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951F77

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

Preview Lab → · Contrast checker → · Palette generator →

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