#9A1E56#9A1E56

#9A1E56 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.164 H 359.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9A1E56
RGBrgb(154, 30, 86)
HSLhsl(333, 67%, 36%)
HSVhsv(333, 81%, 60%)
CMYKcmyk(0%, 80.5%, 44.2%, 39.6%)
CIE-LABlab(34.95, 53.40, -1.24)
CIE-LCHlch(34.95, 53.41, 358.66°)
OKLaboklab(46.08% 0.1642 -0.0026)
OKLCHoklch(46.08% 0.164 359.1)
XYZxyz(15.4716, 8.4725, 9.6229)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E56 #1E9A62
analogous
#9A1E94 #9A1E56 #9A241E
triadic
#9A1E56 #569A1E #1E569A
tetradic
#9A1E56 #949A1E #1E9A62 #241E9A
square
#9A1E56 #949A1E #1E9A62 #241E9A
split-complementary
#9A1E56 #1E9A24 #1E949A
monochromatic
#340A1D #671439 #9A1E56 #CD2873 #DE5593

Accessibility & contrast

On white

7.80
#9A1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9A1E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E56
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E56#FFFFFF#000000##FFFFFF
##9A1E561.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#5D5B53
Tritanopia (blue-blind)
#A70237
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1e56;
/* rgb */ color: rgb(154, 30, 86);
/* oklch */ color: oklch(46.1% 0.164 359.1);
Tailwind
colors: {
  custom: {
    50: '#bd6885',
    500: '#9a1e56',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e56;
$custom-light: #bd6885;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e56",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 332.903,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.16423,
    "h": 359.1
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#9A1E56
secondary
#53C18F
accent
#EA9C3E
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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