#9A2154#9A2154

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

Color values

HEX#9A2154
RGBrgb(154, 33, 84)
HSLhsl(335, 65%, 37%)
HSVhsv(335, 79%, 60%)
CMYKcmyk(0%, 78.6%, 45.5%, 39.6%)
CIE-LABlab(35.20, 52.31, 0.42)
CIE-LCHlch(35.20, 52.31, 0.46°)
OKLaboklab(46.25% 0.1606 0.0017)
OKLCHoklch(46.25% 0.161 0.6)
XYZxyz(15.4717, 8.5999, 9.2310)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2154 #219A67
analogous
#9A2191 #9A2154 #9A2B21
triadic
#9A2154 #549A21 #21549A
tetradic
#9A2154 #919A21 #219A67 #2B219A
square
#9A2154 #919A21 #219A67 #2B219A
split-complementary
#9A2154 #219A2B #21919A
monochromatic
#350B1D #681639 #9A2154 #CC2C6F #DC5A91

Accessibility & contrast

On white

7.72
#9A2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2154
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2154#FFFFFF#000000##FFFFFF
##9A21541.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4455
Deuteranopia (green-blind)
#5E5B51
Tritanopia (blue-blind)
#A70638
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2154;
/* rgb */ color: rgb(154, 33, 84);
/* oklch */ color: oklch(46.2% 0.161 0.6);
Tailwind
colors: {
  custom: {
    50: '#bd6983',
    500: '#9a2154',
    950: '#000000',
  },
}
SCSS
$custom: #9a2154;
$custom-light: #bd6983;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2154",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 334.711,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.16065,
    "h": 0.6
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#9A2154
secondary
#57C094
accent
#E8A140
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A2154

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

Preview Lab → · Contrast checker → · Palette generator →

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