#962172#962172

#962172 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.172 H 343.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#962172
RGBrgb(150, 33, 114)
HSLhsl(318, 64%, 36%)
HSVhsv(318, 78%, 59%)
CMYKcmyk(0%, 78%, 24%, 41.2%)
CIE-LABlab(35.57, 54.69, -18.27)
CIE-LCHlch(35.57, 57.66, 341.53°)
OKLaboklab(46.75% 0.1651 -0.0489)
OKLCHoklch(46.75% 0.172 343.5)
XYZxyz(16.1594, 8.7884, 16.7616)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962172 #219645
analogous
#7F2196 #962172 #962137
triadic
#962172 #729621 #217296
tetradic
#962172 #967F21 #219645 #213796
square
#962172 #967F21 #219645 #213796
split-complementary
#962172 #379621 #21967F
monochromatic
#320B26 #64164C #962172 #C82C98 #DA57B2

Accessibility & contrast

On white

7.62
#962172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#962172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962172
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962172#FFFFFF#000000##FFFFFF
##9621721.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#535B6F
Tritanopia (blue-blind)
#A02147
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #962172;
/* rgb */ color: rgb(150, 33, 114);
/* oklch */ color: oklch(46.7% 0.172 343.5);
Tailwind
colors: {
  custom: {
    50: '#b9699a',
    500: '#962172',
    950: '#000000',
  },
}
SCSS
$custom: #962172;
$custom-light: #b9699a;
$custom-dark: #000000;
JSON
{
  "hex": "#962172",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 318.462,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.17222,
    "h": 343.5
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #962172

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

Preview Lab → · Contrast checker → · Palette generator →

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