#951E4D#951E4D

#951E4D is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.157 H 2.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#951E4D
RGBrgb(149, 30, 77)
HSLhsl(336, 66%, 35%)
HSVhsv(336, 80%, 58%)
CMYKcmyk(0%, 79.9%, 48.3%, 41.6%)
CIE-LABlab(33.68, 51.16, 2.63)
CIE-LCHlch(33.68, 51.23, 2.95°)
OKLaboklab(44.88% 0.1569 0.0073)
OKLCHoklch(44.88% 0.157 2.7)
XYZxyz(14.1995, 7.8559, 7.7884)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E4D #1E9566
analogous
#951E88 #951E4D #952B1E
triadic
#951E4D #4D951E #1E4D95
tetradic
#951E4D #88951E #1E9566 #2B1E95
square
#951E4D #88951E #1E9566 #2B1E95
split-complementary
#951E4D #1E952B #1E8895
monochromatic
#2F0918 #621433 #951E4D #C82867 #DC5188

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951E4D#FFFFFF#000000##FFFFFF
##951E4D1.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)
#3B404E
Deuteranopia (green-blind)
#5B574A
Tritanopia (blue-blind)
#A20033
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951e4d;
/* rgb */ color: rgb(149, 30, 77);
/* oklch */ color: oklch(44.9% 0.157 2.7);
Tailwind
colors: {
  custom: {
    50: '#ba677e',
    500: '#951e4d',
    950: '#000000',
  },
}
SCSS
$custom: #951e4d;
$custom-light: #ba677e;
$custom-dark: #000000;
JSON
{
  "hex": "#951e4d",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 336.303,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4488,
    "c": 0.1571,
    "h": 2.7
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#951E4D
secondary
#50BF93
accent
#E9A63E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #951E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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