#9A1E52#9A1E52

#9A1E52 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.163 H 1.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9A1E52
RGBrgb(154, 30, 82)
HSLhsl(335, 67%, 36%)
HSVhsv(335, 81%, 60%)
CMYKcmyk(0%, 80.5%, 46.8%, 39.6%)
CIE-LABlab(34.82, 53.02, 1.16)
CIE-LCHlch(34.82, 53.03, 1.25°)
OKLaboklab(45.95% 0.1628 0.0036)
OKLCHoklch(45.95% 0.163 1.3)
XYZxyz(15.3150, 8.4099, 8.7978)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E52 #1E9A66
analogous
#9A1E90 #9A1E52 #9A281E
triadic
#9A1E52 #529A1E #1E529A
tetradic
#9A1E52 #909A1E #1E9A66 #281E9A
square
#9A1E52 #909A1E #1E9A66 #281E9A
split-complementary
#9A1E52 #1E9A28 #1E909A
monochromatic
#340A1B #671437 #9A1E52 #CD286D #DE558E

Accessibility & contrast

On white

7.83
#9A1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9A1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E52
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E52#FFFFFF#000000##FFFFFF
##9A1E521.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#A80035
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1e52;
/* rgb */ color: rgb(154, 30, 82);
/* oklch */ color: oklch(45.9% 0.163 1.3);
Tailwind
colors: {
  custom: {
    50: '#bd6882',
    500: '#9a1e52',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e52;
$custom-light: #bd6882;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e52",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 334.839,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45946,
    "c": 0.16288,
    "h": 1.3
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#9A1E52
secondary
#53C193
accent
#EAA23E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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