#951B56#951B56

#951B56 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.163 H 357.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#951B56
RGBrgb(149, 27, 86)
HSLhsl(331, 69%, 35%)
HSVhsv(331, 82%, 58%)
CMYKcmyk(0%, 81.9%, 42.3%, 41.6%)
CIE-LABlab(33.66, 52.90, -3.25)
CIE-LCHlch(33.66, 53.00, 356.48°)
OKLaboklab(44.96% 0.1628 -0.0079)
OKLCHoklch(44.96% 0.163 357.2)
XYZxyz(14.4672, 7.8472, 9.5551)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B56 #1B955A
analogous
#951B93 #951B56 #951D1B
triadic
#951B56 #56951B #1B5695
tetradic
#951B56 #93951B #1B955A #1D1B95
square
#951B56 #93951B #1B955A #1D1B95
split-complementary
#951B56 #1B951D #1B9395
monochromatic
#2D081A #611238 #951B56 #C92474 #DF4C93

Accessibility & contrast

On white

8.17
#951B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#951B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B56
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B56#FFFFFF#000000##FFFFFF
##951B561.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374157
Deuteranopia (green-blind)
#585753
Tritanopia (blue-blind)
#A20136
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951b56;
/* rgb */ color: rgb(149, 27, 86);
/* oklch */ color: oklch(45.0% 0.163 357.2);
Tailwind
colors: {
  custom: {
    50: '#b96685',
    500: '#951b56',
    950: '#000000',
  },
}
SCSS
$custom: #951b56;
$custom-light: #b96685;
$custom-dark: #000000;
JSON
{
  "hex": "#951b56",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 330.984,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.16299,
    "h": 357.2
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#951B56
secondary
#4BC188
accent
#EC973C
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #951B56

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

Preview Lab → · Contrast checker → · Palette generator →

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