#9A2156#9A2156

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

Color values

HEX#9A2156
RGBrgb(154, 33, 86)
HSLhsl(334, 65%, 37%)
HSVhsv(334, 79%, 60%)
CMYKcmyk(0%, 78.6%, 44.2%, 39.6%)
CIE-LABlab(35.27, 52.50, -0.78)
CIE-LCHlch(35.27, 52.51, 359.15°)
OKLaboklab(46.31% 0.1613 -0.0014)
OKLCHoklch(46.31% 0.161 359.5)
XYZxyz(15.5512, 8.6317, 9.6495)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2156 #219A65
analogous
#9A2193 #9A2156 #9A2921
triadic
#9A2156 #569A21 #21569A
tetradic
#9A2156 #939A21 #219A65 #29219A
square
#9A2156 #939A21 #219A65 #29219A
split-complementary
#9A2156 #219A29 #21939A
monochromatic
#350B1E #68163A #9A2156 #CC2C72 #DC5A93

Accessibility & contrast

On white

7.70
#9A2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9A2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2156
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2156#FFFFFF#000000##FFFFFF
##9A21561.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4457
Deuteranopia (green-blind)
#5D5B53
Tritanopia (blue-blind)
#A70839
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2156;
/* rgb */ color: rgb(154, 33, 86);
/* oklch */ color: oklch(46.3% 0.161 359.5);
Tailwind
colors: {
  custom: {
    50: '#bd6985',
    500: '#9a2156',
    950: '#000000',
  },
}
SCSS
$custom: #9a2156;
$custom-light: #bd6985;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2156",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 333.719,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.16133,
    "h": 359.5
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#9A2156
secondary
#57C092
accent
#E89E40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A2156

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

Preview Lab → · Contrast checker → · Palette generator →

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