#951F4D#951F4D

#951F4D is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.156 H 2.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#951F4D
RGBrgb(149, 31, 77)
HSLhsl(337, 66%, 35%)
HSVhsv(337, 79%, 58%)
CMYKcmyk(0%, 79.2%, 48.3%, 41.6%)
CIE-LABlab(33.79, 50.86, 2.79)
CIE-LCHlch(33.79, 50.94, 3.14°)
OKLaboklab(44.96% 0.156 0.0077)
OKLCHoklch(44.96% 0.156 2.8)
XYZxyz(14.2252, 7.9073, 7.7969)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F4D #1F9567
analogous
#951F88 #951F4D #952C1F
triadic
#951F4D #4D951F #1F4D95
tetradic
#951F4D #88951F #1F9567 #2C1F95
square
#951F4D #88951F #1F9567 #2C1F95
split-complementary
#951F4D #1F952C #1F8895
monochromatic
#300A19 #621433 #951F4D #C82A67 #DB5388

Accessibility & contrast

On white

8.14
#951F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#951F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F4D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F4D#FFFFFF#000000##FFFFFF
##951F4D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#5B584A
Tritanopia (blue-blind)
#A20033
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951f4d;
/* rgb */ color: rgb(149, 31, 77);
/* oklch */ color: oklch(45.0% 0.156 2.8);
Tailwind
colors: {
  custom: {
    50: '#ba677e',
    500: '#951f4d',
    950: '#000000',
  },
}
SCSS
$custom: #951f4d;
$custom-light: #ba677e;
$custom-dark: #000000;
JSON
{
  "hex": "#951f4d",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 336.61,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.15614,
    "h": 2.8
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#951F4D
secondary
#51BF94
accent
#E9A73F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #951F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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