#962878#962878

#962878 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.168 H 341.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#962878
RGBrgb(150, 40, 120)
HSLhsl(316, 58%, 37%)
HSVhsv(316, 73%, 59%)
CMYKcmyk(0%, 73.3%, 20%, 41.2%)
CIE-LABlab(36.67, 53.18, -20.35)
CIE-LCHlch(36.67, 56.94, 339.06°)
OKLaboklab(47.63% 0.159 -0.0548)
OKLCHoklch(47.63% 0.168 341)
XYZxyz(16.7271, 9.3593, 18.6913)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962878 #289646
analogous
#7D2896 #962878 #962841
triadic
#962878 #789628 #287896
tetradic
#962878 #967D28 #289646 #284196
square
#962878 #967D28 #289646 #284196
split-complementary
#962878 #419628 #28967D
monochromatic
#350E2B #661B51 #962878 #C6359F #D563B6

Accessibility & contrast

On white

7.31
#962878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#962878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##962878#FFFFFF#000000##FFFFFF
##9628781.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)
#314B7A
Deuteranopia (green-blind)
#535D75
Tritanopia (blue-blind)
#9F2A4C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #962878;
/* rgb */ color: rgb(150, 40, 120);
/* oklch */ color: oklch(47.6% 0.168 341.0);
Tailwind
colors: {
  custom: {
    50: '#b86d9f',
    500: '#962878',
    950: '#000000',
  },
}
SCSS
$custom: #962878;
$custom-light: #b86d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#962878",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 316.364,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.1682,
    "h": 341
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#962878
secondary
#5FBB78
accent
#E17147
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #962878

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

Preview Lab → · Contrast checker → · Palette generator →

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