#962158#962158

#962158 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.159 H 357.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#962158
RGBrgb(150, 33, 88)
HSLhsl(332, 64%, 36%)
HSVhsv(332, 78%, 59%)
CMYKcmyk(0%, 78%, 41.3%, 41.2%)
CIE-LABlab(34.56, 51.59, -3.20)
CIE-LCHlch(34.56, 51.69, 356.45°)
OKLaboklab(45.67% 0.1586 -0.0078)
OKLCHoklch(45.67% 0.159 357.2)
XYZxyz(14.8841, 8.2782, 10.0447)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962158 #21965F
analogous
#962192 #962158 #962521
triadic
#962158 #589621 #215896
tetradic
#962158 #929621 #21965F #252196
square
#962158 #929621 #21965F #252196
split-complementary
#962158 #219625 #219296
monochromatic
#320B1D #64163B #962158 #C82C75 #DA5795

Accessibility & contrast

On white

7.91
#962158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#962158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962158
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962158#FFFFFF#000000##FFFFFF
##9621581.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#5A5955
Tritanopia (blue-blind)
#A30F3A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #962158;
/* rgb */ color: rgb(150, 33, 88);
/* oklch */ color: oklch(45.7% 0.159 357.2);
Tailwind
colors: {
  custom: {
    50: '#ba6987',
    500: '#962158',
    950: '#000000',
  },
}
SCSS
$custom: #962158;
$custom-light: #ba6987;
$custom-dark: #000000;
JSON
{
  "hex": "#962158",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 331.795,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45672,
    "c": 0.15875,
    "h": 357.2
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#962158
secondary
#55BE8D
accent
#E79941
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #962158

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

Preview Lab → · Contrast checker → · Palette generator →

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