#951B7C#951B7C

#951B7C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.184 H 338.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#951B7C
RGBrgb(149, 27, 124)
HSLhsl(312, 69%, 35%)
HSVhsv(312, 82%, 58%)
CMYKcmyk(0%, 81.9%, 16.8%, 41.6%)
CIE-LABlab(35.26, 57.54, -25.05)
CIE-LCHlch(35.26, 62.76, 336.47°)
OKLaboklab(46.64% 0.1708 -0.068)
OKLCHoklch(46.64% 0.184 338.3)
XYZxyz(16.4249, 8.6303, 19.8657)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B7C #1B9534
analogous
#711B95 #951B7C #951B3F
triadic
#951B7C #7C951B #1B7C95
tetradic
#951B7C #95711B #1B9534 #1B3F95
square
#951B7C #95711B #1B9534 #1B3F95
split-complementary
#951B7C #3F951B #1B9571
monochromatic
#2D0826 #611251 #951B7C #C924A7 #DF4CC0

Accessibility & contrast

On white

7.70
#951B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#951B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B7C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B7C#FFFFFF#000000##FFFFFF
##951B7C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#4D5A79
Tritanopia (blue-blind)
#9E224B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951b7c;
/* rgb */ color: rgb(149, 27, 124);
/* oklch */ color: oklch(46.6% 0.184 338.3);
Tailwind
colors: {
  custom: {
    50: '#b868a2',
    500: '#951b7c',
    950: '#000000',
  },
}
SCSS
$custom: #951b7c;
$custom-light: #b868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#951b7c",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 312.295,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.18385,
    "h": 338.3
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#951B7C
secondary
#4BC163
accent
#EC603C
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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