#951B7A#951B7A

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

Color values

HEX#951B7A
RGBrgb(149, 27, 122)
HSLhsl(313, 69%, 35%)
HSVhsv(313, 82%, 58%)
CMYKcmyk(0%, 81.9%, 18.1%, 41.6%)
CIE-LABlab(35.16, 57.26, -23.95)
CIE-LCHlch(35.16, 62.07, 337.30°)
OKLaboklab(46.54% 0.1706 -0.0649)
OKLCHoklch(46.54% 0.183 339.2)
XYZxyz(16.2997, 8.5802, 19.2063)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B7A #1B9536
analogous
#731B95 #951B7A #951B3D
triadic
#951B7A #7A951B #1B7A95
tetradic
#951B7A #95731B #1B9536 #1B3D95
square
#951B7A #95731B #1B9536 #1B3D95
split-complementary
#951B7A #3D951B #1B9573
monochromatic
#2D0825 #611250 #951B7A #C924A4 #DF4CBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951B7A#FFFFFF#000000##FFFFFF
##951B7A1.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)
#24477C
Deuteranopia (green-blind)
#4E5977
Tritanopia (blue-blind)
#9E214A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951b7a;
/* rgb */ color: rgb(149, 27, 122);
/* oklch */ color: oklch(46.5% 0.183 339.2);
Tailwind
colors: {
  custom: {
    50: '#b867a0',
    500: '#951b7a',
    950: '#000000',
  },
}
SCSS
$custom: #951b7a;
$custom-light: #b867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951b7a",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 313.279,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46538,
    "c": 0.18253,
    "h": 339.2
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#951B7A
secondary
#4BC165
accent
#EC633C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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