#9A2159#9A2159

#9A2159 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 357.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9A2159
RGBrgb(154, 33, 89)
HSLhsl(332, 65%, 37%)
HSVhsv(332, 79%, 60%)
CMYKcmyk(0%, 78.6%, 42.2%, 39.6%)
CIE-LABlab(35.36, 52.80, -2.57)
CIE-LCHlch(35.36, 52.86, 357.21°)
OKLaboklab(46.42% 0.1623 -0.0061)
OKLCHoklch(46.42% 0.162 357.9)
XYZxyz(15.6746, 8.6810, 10.2995)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2159 #219A62
analogous
#9A2196 #9A2159 #9A2521
triadic
#9A2159 #599A21 #21599A
tetradic
#9A2159 #969A21 #219A62 #25219A
square
#9A2159 #969A21 #219A62 #25219A
split-complementary
#9A2159 #219A25 #21969A
monochromatic
#350B1F #68163C #9A2159 #CC2C76 #DC5A96

Accessibility & contrast

On white

7.68
#9A2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9A2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2159
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2159#FFFFFF#000000##FFFFFF
##9A21591.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C455A
Deuteranopia (green-blind)
#5D5B56
Tritanopia (blue-blind)
#A70C3A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2159;
/* rgb */ color: rgb(154, 33, 89);
/* oklch */ color: oklch(46.4% 0.162 357.9);
Tailwind
colors: {
  custom: {
    50: '#bd6987',
    500: '#9a2159',
    950: '#000000',
  },
}
SCSS
$custom: #9a2159;
$custom-light: #bd6987;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2159",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 332.231,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46415,
    "c": 0.16243,
    "h": 357.9
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#9A2159
secondary
#57C08F
accent
#E89A40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A2159

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

Preview Lab → · Contrast checker → · Palette generator →

#9A2159 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva