#951F6B#951F6B

#951F6B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.169 H 346.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#951F6B
RGBrgb(149, 31, 107)
HSLhsl(321, 66%, 35%)
HSVhsv(321, 79%, 58%)
CMYKcmyk(0%, 79.2%, 28.2%, 41.6%)
CIE-LABlab(34.87, 54.14, -14.93)
CIE-LCHlch(34.87, 56.16, 344.58°)
OKLaboklab(46.1% 0.1647 -0.0395)
OKLCHoklch(46.1% 0.169 346.5)
XYZxyz(15.5390, 8.4328, 14.7164)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F6B #1F9549
analogous
#841F95 #951F6B #951F30
triadic
#951F6B #6B951F #1F6B95
tetradic
#951F6B #95841F #1F9549 #1F3095
square
#951F6B #95841F #1F9549 #1F3095
split-complementary
#951F6B #30951F #1F9584
monochromatic
#300A22 #621447 #951F6B #C82A8F #DB53AB

Accessibility & contrast

On white

7.82
#951F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#951F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F6B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F6B#FFFFFF#000000##FFFFFF
##951F6B1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#545968
Tritanopia (blue-blind)
#A01B43
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951f6b;
/* rgb */ color: rgb(149, 31, 107);
/* oklch */ color: oklch(46.1% 0.169 346.5);
Tailwind
colors: {
  custom: {
    50: '#b86895',
    500: '#951f6b',
    950: '#000000',
  },
}
SCSS
$custom: #951f6b;
$custom-light: #b86895;
$custom-dark: #000000;
JSON
{
  "hex": "#951f6b",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 321.356,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46101,
    "c": 0.16942,
    "h": 346.5
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#951F6B
secondary
#51BF78
accent
#E97C3F
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #951F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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