#951B71#951B71

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

Color values

HEX#951B71
RGBrgb(149, 27, 113)
HSLhsl(318, 69%, 35%)
HSVhsv(318, 82%, 58%)
CMYKcmyk(0%, 81.9%, 24.2%, 41.6%)
CIE-LABlab(34.74, 56.04, -18.94)
CIE-LCHlch(34.74, 59.16, 341.32°)
OKLaboklab(46.09% 0.1694 -0.0507)
OKLCHoklch(46.09% 0.177 343.3)
XYZxyz(15.7676, 8.3674, 16.4043)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B71 #1B953F
analogous
#7C1B95 #951B71 #951B34
triadic
#951B71 #71951B #1B7195
tetradic
#951B71 #957C1B #1B953F #1B3495
square
#951B71 #957C1B #1B953F #1B3495
split-complementary
#951B71 #34951B #1B957C
monochromatic
#2D0822 #61124A #951B71 #C92498 #DF4CB3

Accessibility & contrast

On white

7.86
#951B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#951B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B71
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B71#FFFFFF#000000##FFFFFF
##951B711.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#51596E
Tritanopia (blue-blind)
#9F1B45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #951b71;
/* rgb */ color: rgb(149, 27, 113);
/* oklch */ color: oklch(46.1% 0.177 343.3);
Tailwind
colors: {
  custom: {
    50: '#b8679a',
    500: '#951b71',
    950: '#000000',
  },
}
SCSS
$custom: #951b71;
$custom-light: #b8679a;
$custom-dark: #000000;
JSON
{
  "hex": "#951b71",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 317.705,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.17681,
    "h": 343.3
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#951B71
secondary
#4BC16E
accent
#EC703C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951B71

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

Preview Lab → · Contrast checker → · Palette generator →

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