#951B51#951B51

#951B51 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.161 H 360.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#951B51
RGBrgb(149, 27, 81)
HSLhsl(333, 69%, 35%)
HSVhsv(333, 82%, 58%)
CMYKcmyk(0%, 81.9%, 45.6%, 41.6%)
CIE-LABlab(33.50, 52.41, -0.24)
CIE-LCHlch(33.50, 52.41, 359.74°)
OKLaboklab(44.79% 0.1611 0)
OKLCHoklch(44.79% 0.161 0)
XYZxyz(14.2727, 7.7694, 8.5311)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B51 #1B955F
analogous
#951B8E #951B51 #95221B
triadic
#951B51 #51951B #1B5195
tetradic
#951B51 #8E951B #1B955F #221B95
square
#951B51 #8E951B #1B955F #221B95
split-complementary
#951B51 #1B9522 #1B8E95
monochromatic
#2D0819 #611235 #951B51 #C9246D #DF4C8D

Accessibility & contrast

On white

8.22
#951B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#951B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B51
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B51#FFFFFF#000000##FFFFFF
##951B511.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394052
Deuteranopia (green-blind)
#5A574E
Tritanopia (blue-blind)
#A20034
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951b51;
/* rgb */ color: rgb(149, 27, 81);
/* oklch */ color: oklch(44.8% 0.161 360.0);
Tailwind
colors: {
  custom: {
    50: '#ba6681',
    500: '#951b51',
    950: '#000000',
  },
}
SCSS
$custom: #951b51;
$custom-light: #ba6681;
$custom-dark: #000000;
JSON
{
  "hex": "#951b51",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 333.443,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44787,
    "c": 0.16115,
    "h": 360
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#951B51
secondary
#4BC18D
accent
#EC9E3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #951B51

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

Preview Lab → · Contrast checker → · Palette generator →

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