#951B6F#951B6F

#951B6F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.176 H 344.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#951B6F
RGBrgb(149, 27, 111)
HSLhsl(319, 69%, 35%)
HSVhsv(319, 82%, 58%)
CMYKcmyk(0%, 81.9%, 25.5%, 41.6%)
CIE-LABlab(34.65, 55.78, -17.82)
CIE-LCHlch(34.65, 58.56, 342.29°)
OKLaboklab(46% 0.169 -0.0476)
OKLCHoklch(46% 0.176 344.3)
XYZxyz(15.6563, 8.3229, 15.8178)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B6F #1B9541
analogous
#7E1B95 #951B6F #951B32
triadic
#951B6F #6F951B #1B6F95
tetradic
#951B6F #957E1B #1B9541 #1B3295
square
#951B6F #957E1B #1B9541 #1B3295
split-complementary
#951B6F #32951B #1B957E
monochromatic
#2D0822 #611248 #951B6F #C92496 #DF4CB1

Accessibility & contrast

On white

7.88
#951B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#951B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B6F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B6F#FFFFFF#000000##FFFFFF
##951B6F1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#52596C
Tritanopia (blue-blind)
#9F1A44
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #951b6f;
/* rgb */ color: rgb(149, 27, 111);
/* oklch */ color: oklch(46.0% 0.176 344.3);
Tailwind
colors: {
  custom: {
    50: '#b86798',
    500: '#951b6f',
    950: '#000000',
  },
}
SCSS
$custom: #951b6f;
$custom-light: #b86798;
$custom-dark: #000000;
JSON
{
  "hex": "#951b6f",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 318.689,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.1756,
    "h": 344.3
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#951B6F
secondary
#4BC170
accent
#EC733C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #951B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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