#9A2157#9A2157

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

Color values

HEX#9A2157
RGBrgb(154, 33, 87)
HSLhsl(333, 65%, 37%)
HSVhsv(333, 79%, 60%)
CMYKcmyk(0%, 78.6%, 43.5%, 39.6%)
CIE-LABlab(35.30, 52.60, -1.38)
CIE-LCHlch(35.30, 52.62, 358.50°)
OKLaboklab(46.35% 0.1617 -0.003)
OKLCHoklch(46.35% 0.162 358.9)
XYZxyz(15.5918, 8.6479, 9.8631)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2157 #219A64
analogous
#9A2194 #9A2157 #9A2721
triadic
#9A2157 #579A21 #21579A
tetradic
#9A2157 #949A21 #219A64 #27219A
square
#9A2157 #949A21 #219A64 #27219A
split-complementary
#9A2157 #219A27 #21949A
monochromatic
#350B1E #68163B #9A2157 #CC2C73 #DC5A94

Accessibility & contrast

On white

7.69
#9A2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2157
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2157#FFFFFF#000000##FFFFFF
##9A21571.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4458
Deuteranopia (green-blind)
#5D5B54
Tritanopia (blue-blind)
#A70A39
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2157;
/* rgb */ color: rgb(154, 33, 87);
/* oklch */ color: oklch(46.3% 0.162 358.9);
Tailwind
colors: {
  custom: {
    50: '#bd6986',
    500: '#9a2157',
    950: '#000000',
  },
}
SCSS
$custom: #9a2157;
$custom-light: #bd6986;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2157",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 333.223,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.16169,
    "h": 358.9
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#9A2157
secondary
#57C091
accent
#E89D40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A2157

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

Preview Lab → · Contrast checker → · Palette generator →

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