#951E71#951E71

#951E71 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.174 H 343.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#951E71
RGBrgb(149, 30, 113)
HSLhsl(318, 66%, 35%)
HSVhsv(318, 80%, 58%)
CMYKcmyk(0%, 79.9%, 24.2%, 41.6%)
CIE-LABlab(35.03, 55.21, -18.50)
CIE-LCHlch(35.03, 58.22, 341.48°)
OKLaboklab(46.3% 0.1668 -0.0495)
OKLCHoklch(46.3% 0.174 343.5)
XYZxyz(15.8400, 8.5121, 16.4284)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E71 #1E9542
analogous
#7D1E95 #951E71 #951E36
triadic
#951E71 #71951E #1E7195
tetradic
#951E71 #957D1E #1E9542 #1E3695
square
#951E71 #957D1E #1E9542 #1E3695
split-complementary
#951E71 #36951E #1E957D
monochromatic
#2F0924 #62144A #951E71 #C82898 #DC51B2

Accessibility & contrast

On white

7.77
#951E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#951E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E71
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E71#FFFFFF#000000##FFFFFF
##951E711.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#52596E
Tritanopia (blue-blind)
#9F1E46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951e71;
/* rgb */ color: rgb(149, 30, 113);
/* oklch */ color: oklch(46.3% 0.174 343.5);
Tailwind
colors: {
  custom: {
    50: '#b8689a',
    500: '#951e71',
    950: '#000000',
  },
}
SCSS
$custom: #951e71;
$custom-light: #b8689a;
$custom-dark: #000000;
JSON
{
  "hex": "#951e71",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 318.151,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46302,
    "c": 0.17399,
    "h": 343.5
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#951E71
secondary
#50BF71
accent
#E9723E
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951E71

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

Preview Lab → · Contrast checker → · Palette generator →

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