#951F71#951F71

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

Color values

HEX#951F71
RGBrgb(149, 31, 113)
HSLhsl(318, 66%, 35%)
HSVhsv(318, 79%, 58%)
CMYKcmyk(0%, 79.2%, 24.2%, 41.6%)
CIE-LABlab(35.13, 54.91, -18.34)
CIE-LCHlch(35.13, 57.90, 341.53°)
OKLaboklab(46.38% 0.1659 -0.0491)
OKLCHoklch(46.38% 0.173 343.5)
XYZxyz(15.8657, 8.5635, 16.4370)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F71 #1F9543
analogous
#7E1F95 #951F71 #951F36
triadic
#951F71 #71951F #1F7195
tetradic
#951F71 #957E1F #1F9543 #1F3695
square
#951F71 #957E1F #1F9543 #1F3695
split-complementary
#951F71 #36951F #1F957E
monochromatic
#300A24 #62144B #951F71 #C82A97 #DB53B2

Accessibility & contrast

On white

7.74
#951F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#951F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F71
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F71#FFFFFF#000000##FFFFFF
##951F711.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951f71;
/* rgb */ color: rgb(149, 31, 113);
/* oklch */ color: oklch(46.4% 0.173 343.5);
Tailwind
colors: {
  custom: {
    50: '#b8699a',
    500: '#951f71',
    950: '#000000',
  },
}
SCSS
$custom: #951f71;
$custom-light: #b8699a;
$custom-dark: #000000;
JSON
{
  "hex": "#951f71",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 318.305,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.17299,
    "h": 343.5
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#951F71
secondary
#51BF73
accent
#E9733F
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951F71

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

Preview Lab → · Contrast checker → · Palette generator →

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