#96277B#96277B

#96277B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.171 H 339.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#96277B
RGBrgb(150, 39, 123)
HSLhsl(315, 59%, 37%)
HSVhsv(315, 74%, 59%)
CMYKcmyk(0%, 74%, 18%, 41.2%)
CIE-LABlab(36.68, 53.97, -22.20)
CIE-LCHlch(36.68, 58.36, 337.64°)
OKLaboklab(47.68% 0.1606 -0.06)
OKLCHoklch(47.68% 0.171 339.5)
XYZxyz(16.8788, 9.3668, 19.6541)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96277B #279642
analogous
#7A2796 #96277B #962743
triadic
#96277B #7B9627 #277B96
tetradic
#96277B #967A27 #279642 #274396
square
#96277B #967A27 #279642 #274396
split-complementary
#96277B #439627 #27967A
monochromatic
#350E2B #651A53 #96277B #C734A3 #D661BA

Accessibility & contrast

On white

7.31
#96277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#96277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96277B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96277B#FFFFFF#000000##FFFFFF
##96277B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#9F2B4E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #96277b;
/* rgb */ color: rgb(150, 39, 123);
/* oklch */ color: oklch(47.7% 0.171 339.5);
Tailwind
colors: {
  custom: {
    50: '#b86ca1',
    500: '#96277b',
    950: '#000000',
  },
}
SCSS
$custom: #96277b;
$custom-light: #b86ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#96277b",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 314.595,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47683,
    "c": 0.17141,
    "h": 339.5
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#96277B
secondary
#5DBC74
accent
#E26C46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #96277B

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

Preview Lab → · Contrast checker → · Palette generator →

#96277B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva