#952170#952170

#952170 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.170 H 344.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#952170
RGBrgb(149, 33, 112)
HSLhsl(319, 64%, 36%)
HSVhsv(319, 78%, 58%)
CMYKcmyk(0%, 77.9%, 24.8%, 41.6%)
CIE-LABlab(35.30, 54.17, -17.44)
CIE-LCHlch(35.30, 56.91, 342.15°)
OKLaboklab(46.48% 0.1638 -0.0466)
OKLCHoklch(46.48% 0.17 344.1)
XYZxyz(15.8636, 8.6488, 16.1601)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952170 #219546
analogous
#802195 #952170 #952136
triadic
#952170 #709521 #217095
tetradic
#952170 #958021 #219546 #213695
square
#952170 #958021 #219546 #213695
split-complementary
#952170 #369521 #219580
monochromatic
#310B25 #63164A #952170 #C72C96 #DA57B0

Accessibility & contrast

On white

7.69
#952170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952170
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952170#FFFFFF#000000##FFFFFF
##9521701.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4772
Deuteranopia (green-blind)
#535A6D
Tritanopia (blue-blind)
#9F2046
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #952170;
/* rgb */ color: rgb(149, 33, 112);
/* oklch */ color: oklch(46.5% 0.170 344.1);
Tailwind
colors: {
  custom: {
    50: '#b86999',
    500: '#952170',
    950: '#000000',
  },
}
SCSS
$custom: #952170;
$custom-light: #b86999;
$custom-dark: #000000;
JSON
{
  "hex": "#952170",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 319.138,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46484,
    "c": 0.17032,
    "h": 344.1
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#952170
secondary
#54BE76
accent
#E77641
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #952170

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

Preview Lab → · Contrast checker → · Palette generator →

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