#951F42#951F42

#951F42 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.154 H 9.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#951F42
RGBrgb(149, 31, 66)
HSLhsl(342, 66%, 35%)
HSVhsv(342, 79%, 58%)
CMYKcmyk(0%, 79.2%, 55.7%, 41.6%)
CIE-LABlab(33.49, 49.92, 9.55)
CIE-LCHlch(33.49, 50.83, 10.83°)
OKLaboklab(44.64% 0.1517 0.0243)
OKLCHoklch(44.64% 0.154 9.1)
XYZxyz(13.8691, 7.7649, 5.9217)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F42 #1F9572
analogous
#951F7D #951F42 #95371F
triadic
#951F42 #42951F #1F4295
tetradic
#951F42 #7D951F #1F9572 #371F95
square
#951F42 #7D951F #1F9572 #371F95
split-complementary
#951F42 #1F9537 #1F7D95
monochromatic
#300A15 #62142C #951F42 #C82A58 #DB537C

Accessibility & contrast

On white

8.23
#951F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F42
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F42#FFFFFF#000000##FFFFFF
##951F421.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4043
Deuteranopia (green-blind)
#5D573F
Tritanopia (blue-blind)
#A3002E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #951f42;
/* rgb */ color: rgb(149, 31, 66);
/* oklch */ color: oklch(44.6% 0.154 9.1);
Tailwind
colors: {
  custom: {
    50: '#ba6776',
    500: '#951f42',
    950: '#000000',
  },
}
SCSS
$custom: #951f42;
$custom-light: #ba6776;
$custom-dark: #000000;
JSON
{
  "hex": "#951f42",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 342.203,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.15366,
    "h": 9.1
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#951F42
secondary
#51BF9E
accent
#E9B63F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #951F42

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

Preview Lab → · Contrast checker → · Palette generator →

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