#9A2152#9A2152

#9A2152 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.160 H 1.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9A2152
RGBrgb(154, 33, 82)
HSLhsl(336, 65%, 37%)
HSVhsv(336, 79%, 60%)
CMYKcmyk(0%, 78.6%, 46.8%, 39.6%)
CIE-LABlab(35.14, 52.12, 1.62)
CIE-LCHlch(35.14, 52.14, 1.78°)
OKLaboklab(46.18% 0.1599 0.0047)
OKLCHoklch(46.18% 0.16 1.7)
XYZxyz(15.3945, 8.5690, 8.8243)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2152 #219A69
analogous
#9A218F #9A2152 #9A2C21
triadic
#9A2152 #529A21 #21529A
tetradic
#9A2152 #8F9A21 #219A69 #2C219A
square
#9A2152 #8F9A21 #219A69 #2C219A
split-complementary
#9A2152 #219A2C #218F9A
monochromatic
#350B1C #681637 #9A2152 #CC2C6D #DC5A8E

Accessibility & contrast

On white

7.74
#9A2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9A2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2152
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2152#FFFFFF#000000##FFFFFF
##9A21521.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#A80437
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2152;
/* rgb */ color: rgb(154, 33, 82);
/* oklch */ color: oklch(46.2% 0.160 1.7);
Tailwind
colors: {
  custom: {
    50: '#bd6982',
    500: '#9a2152',
    950: '#000000',
  },
}
SCSS
$custom: #9a2152;
$custom-light: #bd6982;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2152",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 335.702,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.16001,
    "h": 1.7
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#9A2152
secondary
#57C095
accent
#E8A440
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A2152

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

Preview Lab → · Contrast checker → · Palette generator →

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