#951F5A#951F5A

#951F5A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.161 H 355.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#951F5A
RGBrgb(149, 31, 90)
HSLhsl(330, 66%, 35%)
HSVhsv(330, 79%, 58%)
CMYKcmyk(0%, 79.2%, 39.6%, 41.6%)
CIE-LABlab(34.21, 52.15, -5.03)
CIE-LCHlch(34.21, 52.40, 354.49°)
OKLaboklab(45.41% 0.1603 -0.0126)
OKLCHoklch(45.41% 0.161 355.5)
XYZxyz(14.7309, 8.1096, 10.4605)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F5A #1F955A
analogous
#951F95 #951F5A #951F1F
triadic
#951F5A #5A951F #1F5A95
tetradic
#951F5A #95951F #1F955A #1F1F95
square
#951F5A #95951F #1F955A #1F1F95
split-complementary
#951F5A #1F951F #1F9595
monochromatic
#300A1D #62143B #951F5A #C82A79 #DB5397

Accessibility & contrast

On white

8.01
#951F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#951F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F5A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F5A#FFFFFF#000000##FFFFFF
##951F5A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435B
Deuteranopia (green-blind)
#595857
Tritanopia (blue-blind)
#A10E3A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #951f5a;
/* rgb */ color: rgb(149, 31, 90);
/* oklch */ color: oklch(45.4% 0.161 355.5);
Tailwind
colors: {
  custom: {
    50: '#b96888',
    500: '#951f5a',
    950: '#000000',
  },
}
SCSS
$custom: #951f5a;
$custom-light: #b96888;
$custom-dark: #000000;
JSON
{
  "hex": "#951f5a",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 330,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.16082,
    "h": 355.5
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#951F5A
secondary
#51BF88
accent
#E9943F
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #951F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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