#951B4D#951B4D

#951B4D is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.160 H 2.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#951B4D
RGBrgb(149, 27, 77)
HSLhsl(335, 69%, 35%)
HSVhsv(335, 82%, 58%)
CMYKcmyk(0%, 81.9%, 48.3%, 41.6%)
CIE-LABlab(33.37, 52.04, 2.19)
CIE-LCHlch(33.37, 52.08, 2.41°)
OKLaboklab(44.66% 0.1597 0.0062)
OKLCHoklch(44.66% 0.16 2.2)
XYZxyz(14.1271, 7.7112, 7.7642)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B4D #1B9563
analogous
#951B8A #951B4D #95261B
triadic
#951B4D #4D951B #1B4D95
tetradic
#951B4D #8A951B #1B9563 #261B95
square
#951B4D #8A951B #1B9563 #261B95
split-complementary
#951B4D #1B9526 #1B8A95
monochromatic
#2D0817 #611232 #951B4D #C92468 #DF4C88

Accessibility & contrast

On white

8.26
#951B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#951B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B4D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B4D#FFFFFF#000000##FFFFFF
##951B4D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4E
Deuteranopia (green-blind)
#5A574A
Tritanopia (blue-blind)
#A20032
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #951b4d;
/* rgb */ color: rgb(149, 27, 77);
/* oklch */ color: oklch(44.7% 0.160 2.2);
Tailwind
colors: {
  custom: {
    50: '#ba667e',
    500: '#951b4d',
    950: '#000000',
  },
}
SCSS
$custom: #951b4d;
$custom-light: #ba667e;
$custom-dark: #000000;
JSON
{
  "hex": "#951b4d",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 335.41,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.15986,
    "h": 2.2
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#951B4D
secondary
#4BC190
accent
#ECA43C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130609
muted
#827A7B

Preview Lab

Preview with #951B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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