#951F4F#951F4F

#951F4F is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.157 H 1.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#951F4F
RGBrgb(149, 31, 79)
HSLhsl(336, 66%, 35%)
HSVhsv(336, 79%, 58%)
CMYKcmyk(0%, 79.2%, 47%, 41.6%)
CIE-LABlab(33.85, 51.04, 1.57)
CIE-LCHlch(33.85, 51.07, 1.77°)
OKLaboklab(45.02% 0.1567 0.0046)
OKLCHoklch(45.02% 0.157 1.7)
XYZxyz(14.2969, 7.9360, 8.1746)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F4F #1F9565
analogous
#951F8A #951F4F #952A1F
triadic
#951F4F #4F951F #1F4F95
tetradic
#951F4F #8A951F #1F9565 #2A1F95
square
#951F4F #8A951F #1F9565 #2A1F95
split-complementary
#951F4F #1F952A #1F8A95
monochromatic
#300A19 #621434 #951F4F #C82A6A #DB538B

Accessibility & contrast

On white

8.12
#951F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#951F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F4F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F4F#FFFFFF#000000##FFFFFF
##951F4F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5B584C
Tritanopia (blue-blind)
#A20234
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #951f4f;
/* rgb */ color: rgb(149, 31, 79);
/* oklch */ color: oklch(45.0% 0.157 1.7);
Tailwind
colors: {
  custom: {
    50: '#b96780',
    500: '#951f4f',
    950: '#000000',
  },
}
SCSS
$custom: #951f4f;
$custom-light: #b96780;
$custom-dark: #000000;
JSON
{
  "hex": "#951f4f",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 335.593,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45024,
    "c": 0.15674,
    "h": 1.7
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#951F4F
secondary
#51BF92
accent
#E9A43F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #951F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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