#9A2181#9A2181

#9A2181 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.184 H 338.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9A2181
RGBrgb(154, 33, 129)
HSLhsl(312, 65%, 37%)
HSVhsv(312, 79%, 60%)
CMYKcmyk(0%, 78.6%, 16.2%, 39.6%)
CIE-LABlab(37.01, 57.74, -25.37)
CIE-LCHlch(37.01, 63.07, 336.28°)
OKLaboklab(48.15% 0.1711 -0.0689)
OKLCHoklch(48.15% 0.184 338.1)
XYZxyz(17.8331, 9.5445, 21.6677)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2181 #219A3A
analogous
#77219A #9A2181 #9A2144
triadic
#9A2181 #819A21 #21819A
tetradic
#9A2181 #9A7721 #219A3A #21449A
square
#9A2181 #9A7721 #219A3A #21449A
split-complementary
#9A2181 #449A21 #219A77
monochromatic
#350B2D #681657 #9A2181 #CC2CAB #DC5AC1

Accessibility & contrast

On white

7.22
#9A2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9A2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2181
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2181#FFFFFF#000000##FFFFFF
##9A21811.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#515E7E
Tritanopia (blue-blind)
#A3284F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2181;
/* rgb */ color: rgb(154, 33, 129);
/* oklch */ color: oklch(48.2% 0.184 338.1);
Tailwind
colors: {
  custom: {
    50: '#bc6ba6',
    500: '#9a2181',
    950: '#000000',
  },
}
SCSS
$custom: #9a2181;
$custom-light: #bc6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2181",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 312.397,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48151,
    "c": 0.18443,
    "h": 338.1
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#9A2181
secondary
#57C06D
accent
#E86340
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A2181

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

Preview Lab → · Contrast checker → · Palette generator →

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