#9A2252#9A2252

#9A2252 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.159 H 1.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9A2252
RGBrgb(154, 34, 82)
HSLhsl(336, 64%, 37%)
HSVhsv(336, 78%, 60%)
CMYKcmyk(0%, 77.9%, 46.8%, 39.6%)
CIE-LABlab(35.25, 51.80, 1.79)
CIE-LCHlch(35.25, 51.83, 1.97°)
OKLaboklab(46.26% 0.1589 0.0052)
OKLCHoklch(46.26% 0.159 1.9)
XYZxyz(15.4227, 8.6253, 8.8337)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2252 #229A6A
analogous
#9A228E #9A2252 #9A2E22
triadic
#9A2252 #529A22 #22529A
tetradic
#9A2252 #8E9A22 #229A6A #2E229A
square
#9A2252 #8E9A22 #229A6A #2E229A
split-complementary
#9A2252 #229A2E #228E9A
monochromatic
#360C1D #681737 #9A2252 #CC2D6D #DB5B8E

Accessibility & contrast

On white

7.71
#9A2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9A2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2252
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2252#FFFFFF#000000##FFFFFF
##9A22521.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2252;
/* rgb */ color: rgb(154, 34, 82);
/* oklch */ color: oklch(46.3% 0.159 1.9);
Tailwind
colors: {
  custom: {
    50: '#bd6982',
    500: '#9a2252',
    950: '#000000',
  },
}
SCSS
$custom: #9a2252;
$custom-light: #bd6982;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2252",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 336,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46262,
    "c": 0.159,
    "h": 1.9
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#9A2252
secondary
#58BF96
accent
#E7A441
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A2252

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

Preview Lab → · Contrast checker → · Palette generator →

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