#9A1E5B#9A1E5B

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

Color values

HEX#9A1E5B
RGBrgb(154, 30, 91)
HSLhsl(330, 67%, 36%)
HSVhsv(330, 81%, 60%)
CMYKcmyk(0%, 80.5%, 40.9%, 39.6%)
CIE-LABlab(35.11, 53.90, -4.23)
CIE-LCHlch(35.11, 54.07, 355.52°)
OKLaboklab(46.26% 0.1658 -0.0104)
OKLCHoklch(46.26% 0.166 356.4)
XYZxyz(15.6802, 8.5559, 10.7213)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E5B #1E9A5D
analogous
#9A1E99 #9A1E5B #9A1F1E
triadic
#9A1E5B #5B9A1E #1E5B9A
tetradic
#9A1E5B #999A1E #1E9A5D #1F1E9A
square
#9A1E5B #999A1E #1E9A5D #1F1E9A
split-complementary
#9A1E5B #1E9A1F #1E999A
monochromatic
#340A1E #67143D #9A1E5B #CD2879 #DE5598

Accessibility & contrast

On white

7.75
#9A1E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9A1E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E5B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E5B#FFFFFF#000000##FFFFFF
##9A1E5B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445C
Deuteranopia (green-blind)
#5C5B58
Tritanopia (blue-blind)
#A7073A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a1e5b;
/* rgb */ color: rgb(154, 30, 91);
/* oklch */ color: oklch(46.3% 0.166 356.4);
Tailwind
colors: {
  custom: {
    50: '#bd6889',
    500: '#9a1e5b',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e5b;
$custom-light: #bd6889;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e5b",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 330.484,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.16615,
    "h": 356.4
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#9A1E5B
secondary
#53C18B
accent
#EA953E
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A1E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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