#951F72#951F72

#951F72 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.174 H 343.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#951F72
RGBrgb(149, 31, 114)
HSLhsl(318, 66%, 35%)
HSVhsv(318, 79%, 58%)
CMYKcmyk(0%, 79.2%, 23.5%, 41.6%)
CIE-LABlab(35.17, 55.05, -18.90)
CIE-LCHlch(35.17, 58.20, 341.05°)
OKLaboklab(46.42% 0.1661 -0.0506)
OKLCHoklch(46.42% 0.174 343)
XYZxyz(15.9223, 8.5861, 16.7351)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F72 #1F9542
analogous
#7D1F95 #951F72 #951F37
triadic
#951F72 #72951F #1F7295
tetradic
#951F72 #957D1F #1F9542 #1F3795
square
#951F72 #957D1F #1F9542 #1F3795
split-complementary
#951F72 #37951F #1F957D
monochromatic
#300A24 #62144B #951F72 #C82A99 #DB53B3

Accessibility & contrast

On white

7.73
#951F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#951F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F72
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F72#FFFFFF#000000##FFFFFF
##951F721.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4674
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#9F1F46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951f72;
/* rgb */ color: rgb(149, 31, 114);
/* oklch */ color: oklch(46.4% 0.174 343.0);
Tailwind
colors: {
  custom: {
    50: '#b8699a',
    500: '#951f72',
    950: '#000000',
  },
}
SCSS
$custom: #951f72;
$custom-light: #b8699a;
$custom-dark: #000000;
JSON
{
  "hex": "#951f72",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 317.797,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.17362,
    "h": 343
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#951F72
secondary
#51BF72
accent
#E9713F
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951F72

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

Preview Lab → · Contrast checker → · Palette generator →

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