#962271#962271

#962271 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.171 H 344.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#962271
RGBrgb(150, 34, 113)
HSLhsl(319, 63%, 36%)
HSVhsv(319, 77%, 59%)
CMYKcmyk(0%, 77.3%, 24.7%, 41.2%)
CIE-LABlab(35.64, 54.24, -17.54)
CIE-LCHlch(35.64, 57.01, 342.09°)
OKLaboklab(46.78% 0.164 -0.0468)
OKLCHoklch(46.78% 0.171 344.1)
XYZxyz(16.1310, 8.8221, 16.4729)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962271 #229647
analogous
#812296 #962271 #962237
triadic
#962271 #719622 #227196
tetradic
#962271 #968122 #229647 #223796
square
#962271 #968122 #229647 #223796
split-complementary
#962271 #379622 #229681
monochromatic
#320B26 #64174B #962271 #C82D97 #D959B0

Accessibility & contrast

On white

7.60
#962271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #962271
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962271#FFFFFF#000000##FFFFFF
##9622711.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304773
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#A02147
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #962271;
/* rgb */ color: rgb(150, 34, 113);
/* oklch */ color: oklch(46.8% 0.171 344.1);
Tailwind
colors: {
  custom: {
    50: '#b96a9a',
    500: '#962271',
    950: '#000000',
  },
}
SCSS
$custom: #962271;
$custom-light: #b96a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#962271",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 319.138,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.17054,
    "h": 344.1
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#962271
secondary
#56BE77
accent
#E67642
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #962271

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

Preview Lab → · Contrast checker → · Palette generator →

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