#951B72#951B72

#951B72 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.177 H 342.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#951B72
RGBrgb(149, 27, 114)
HSLhsl(317, 69%, 35%)
HSVhsv(317, 82%, 58%)
CMYKcmyk(0%, 81.9%, 23.5%, 41.6%)
CIE-LABlab(34.78, 56.17, -19.51)
CIE-LCHlch(34.78, 59.46, 340.85°)
OKLaboklab(46.14% 0.1695 -0.0523)
OKLCHoklch(46.14% 0.177 342.8)
XYZxyz(15.8242, 8.3900, 16.7024)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B72 #1B953E
analogous
#7B1B95 #951B72 #951B35
triadic
#951B72 #72951B #1B7295
tetradic
#951B72 #957B1B #1B953E #1B3595
square
#951B72 #957B1B #1B953E #1B3595
split-complementary
#951B72 #35951B #1B957B
monochromatic
#2D0823 #61124A #951B72 #C9249A #DF4CB4

Accessibility & contrast

On white

7.84
#951B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#951B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B72
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B72#FFFFFF#000000##FFFFFF
##951B721.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#9F1C45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951b72;
/* rgb */ color: rgb(149, 27, 114);
/* oklch */ color: oklch(46.1% 0.177 342.8);
Tailwind
colors: {
  custom: {
    50: '#b8679a',
    500: '#951b72',
    950: '#000000',
  },
}
SCSS
$custom: #951b72;
$custom-light: #b8679a;
$custom-dark: #000000;
JSON
{
  "hex": "#951b72",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 317.213,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.17742,
    "h": 342.8
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#951B72
secondary
#4BC16D
accent
#EC6E3C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951B72

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

Preview Lab → · Contrast checker → · Palette generator →

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