#952162#952162

#952162 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 351.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#952162
RGBrgb(149, 33, 98)
HSLhsl(326, 64%, 36%)
HSVhsv(326, 78%, 58%)
CMYKcmyk(0%, 77.9%, 34.2%, 41.6%)
CIE-LABlab(34.72, 52.43, -9.41)
CIE-LCHlch(34.72, 53.26, 349.83°)
OKLaboklab(45.88% 0.1606 -0.0244)
OKLCHoklch(45.88% 0.162 351.4)
XYZxyz(15.1438, 8.3609, 12.3692)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952162 #219554
analogous
#8E2195 #952162 #952128
triadic
#952162 #629521 #216295
tetradic
#952162 #958E21 #219554 #212895
square
#952162 #958E21 #219554 #212895
split-complementary
#952162 #289521 #21958E
monochromatic
#310B20 #631641 #952162 #C72C83 #DA57A0

Accessibility & contrast

On white

7.86
#952162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#952162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##952162#FFFFFF#000000##FFFFFF
##9521621.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)
#364464
Deuteranopia (green-blind)
#57595F
Tritanopia (blue-blind)
#A1173F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #952162;
/* rgb */ color: rgb(149, 33, 98);
/* oklch */ color: oklch(45.9% 0.162 351.4);
Tailwind
colors: {
  custom: {
    50: '#b9698e',
    500: '#952162',
    950: '#000000',
  },
}
SCSS
$custom: #952162;
$custom-light: #b9698e;
$custom-dark: #000000;
JSON
{
  "hex": "#952162",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 326.379,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.16248,
    "h": 351.4
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#952162
secondary
#54BE83
accent
#E78A41
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #952162

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

Preview Lab → · Contrast checker → · Palette generator →

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