#951B42#951B42

#951B42 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.157 H 8.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#951B42
RGBrgb(149, 27, 66)
HSLhsl(341, 69%, 35%)
HSVhsv(341, 82%, 58%)
CMYKcmyk(0%, 81.9%, 55.7%, 41.6%)
CIE-LABlab(33.07, 51.11, 8.97)
CIE-LCHlch(33.07, 51.89, 9.95°)
OKLaboklab(44.33% 0.1556 0.0228)
OKLCHoklch(44.33% 0.157 8.4)
XYZxyz(13.7711, 7.5688, 5.8890)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B42 #1B956E
analogous
#951B7F #951B42 #95311B
triadic
#951B42 #42951B #1B4295
tetradic
#951B42 #7F951B #1B956E #311B95
square
#951B42 #7F951B #1B956E #311B95
split-complementary
#951B42 #1B9531 #1B7F95
monochromatic
#2D0814 #61122B #951B42 #C92459 #DF4C7B

Accessibility & contrast

On white

8.36
#951B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#951B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B42
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B42#FFFFFF#000000##FFFFFF
##951B421.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E43
Deuteranopia (green-blind)
#5C563F
Tritanopia (blue-blind)
#A3002C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #951b42;
/* rgb */ color: rgb(149, 27, 66);
/* oklch */ color: oklch(44.3% 0.157 8.4);
Tailwind
colors: {
  custom: {
    50: '#ba6576',
    500: '#951b42',
    950: '#000000',
  },
}
SCSS
$custom: #951b42;
$custom-light: #ba6576;
$custom-dark: #000000;
JSON
{
  "hex": "#951b42",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 340.82,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44331,
    "c": 0.15725,
    "h": 8.4
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#951B42
secondary
#4BC19B
accent
#ECB43C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B

Preview Lab

Preview with #951B42

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

Preview Lab → · Contrast checker → · Palette generator →

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