#951F5F#951F5F

#951F5F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.163 H 352.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#951F5F
RGBrgb(149, 31, 95)
HSLhsl(327, 66%, 35%)
HSVhsv(327, 79%, 58%)
CMYKcmyk(0%, 79.2%, 36.2%, 41.6%)
CIE-LABlab(34.39, 52.70, -7.98)
CIE-LCHlch(34.39, 53.30, 351.39°)
OKLaboklab(45.6% 0.1618 -0.0205)
OKLCHoklch(45.6% 0.163 352.8)
XYZxyz(14.9509, 8.1976, 11.6192)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F5F #1F9555
analogous
#901F95 #951F5F #951F24
triadic
#951F5F #5F951F #1F5F95
tetradic
#951F5F #95901F #1F9555 #1F2495
square
#951F5F #95901F #1F9555 #1F2495
split-complementary
#951F5F #24951F #1F9590
monochromatic
#300A1E #62143F #951F5F #C82A7F #DB539D

Accessibility & contrast

On white

7.96
#951F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#951F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F5F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F5F#FFFFFF#000000##FFFFFF
##951F5F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364361
Deuteranopia (green-blind)
#57595C
Tritanopia (blue-blind)
#A1123C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #951f5f;
/* rgb */ color: rgb(149, 31, 95);
/* oklch */ color: oklch(45.6% 0.163 352.8);
Tailwind
colors: {
  custom: {
    50: '#b9688c',
    500: '#951f5f',
    950: '#000000',
  },
}
SCSS
$custom: #951f5f;
$custom-light: #b9688c;
$custom-dark: #000000;
JSON
{
  "hex": "#951f5f",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 327.458,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.16308,
    "h": 352.8
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#951F5F
secondary
#51BF83
accent
#E98D3F
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #951F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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