#952171#952171

#952171 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 343.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#952171
RGBrgb(149, 33, 113)
HSLhsl(319, 64%, 36%)
HSVhsv(319, 78%, 58%)
CMYKcmyk(0%, 77.9%, 24.2%, 41.6%)
CIE-LABlab(35.34, 54.31, -18.01)
CIE-LCHlch(35.34, 57.21, 341.65°)
OKLaboklab(46.53% 0.164 -0.0481)
OKLCHoklch(46.53% 0.171 343.6)
XYZxyz(15.9195, 8.6712, 16.4549)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952171 #219545
analogous
#7F2195 #952171 #952137
triadic
#952171 #719521 #217195
tetradic
#952171 #957F21 #219545 #213795
square
#952171 #957F21 #219545 #213795
split-complementary
#952171 #379521 #21957F
monochromatic
#310B25 #63164B #952171 #C72C97 #DA57B1

Accessibility & contrast

On white

7.68
#952171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#952171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952171
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952171#FFFFFF#000000##FFFFFF
##9521711.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#9F2146
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #952171;
/* rgb */ color: rgb(149, 33, 113);
/* oklch */ color: oklch(46.5% 0.171 343.6);
Tailwind
colors: {
  custom: {
    50: '#b8699a',
    500: '#952171',
    950: '#000000',
  },
}
SCSS
$custom: #952171;
$custom-light: #b8699a;
$custom-dark: #000000;
JSON
{
  "hex": "#952171",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 318.621,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.17094,
    "h": 343.6
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#952171
secondary
#54BE75
accent
#E77441
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952171

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

Preview Lab → · Contrast checker → · Palette generator →

#952171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva