#951C71#951C71

#951C71 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.176 H 343.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#951C71
RGBrgb(149, 28, 113)
HSLhsl(318, 68%, 35%)
HSVhsv(318, 81%, 58%)
CMYKcmyk(0%, 81.2%, 24.2%, 41.6%)
CIE-LABlab(34.83, 55.77, -18.80)
CIE-LCHlch(34.83, 58.86, 341.37°)
OKLaboklab(46.16% 0.1685 -0.0503)
OKLCHoklch(46.16% 0.176 343.4)
XYZxyz(15.7910, 8.4140, 16.4121)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C71 #1C9540
analogous
#7D1C95 #951C71 #951C35
triadic
#951C71 #71951C #1C7195
tetradic
#951C71 #957D1C #1C9540 #1C3595
square
#951C71 #957D1C #1C9540 #1C3595
split-complementary
#951C71 #35951C #1C957D
monochromatic
#2E0923 #61124A #951C71 #C92698 #DE4EB3

Accessibility & contrast

On white

7.83
#951C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#951C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C71
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C71#FFFFFF#000000##FFFFFF
##951C711.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951c71;
/* rgb */ color: rgb(149, 28, 113);
/* oklch */ color: oklch(46.2% 0.176 343.4);
Tailwind
colors: {
  custom: {
    50: '#b8679a',
    500: '#951c71',
    950: '#000000',
  },
}
SCSS
$custom: #951c71;
$custom-light: #b8679a;
$custom-dark: #000000;
JSON
{
  "hex": "#951c71",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 317.851,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46159,
    "c": 0.17589,
    "h": 343.4
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#951C71
secondary
#4DC06F
accent
#EB713D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #951C71

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

Preview Lab → · Contrast checker → · Palette generator →

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