#9A1E7A#9A1E7A

#9A1E7A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.183 H 341.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9A1E7A
RGBrgb(154, 30, 122)
HSLhsl(315, 67%, 36%)
HSVhsv(315, 81%, 60%)
CMYKcmyk(0%, 80.5%, 20.8%, 39.6%)
CIE-LABlab(36.38, 57.62, -21.99)
CIE-LCHlch(36.38, 61.67, 339.11°)
OKLaboklab(47.58% 0.1728 -0.0593)
OKLCHoklch(47.58% 0.183 341.1)
XYZxyz(17.3041, 9.2055, 19.2741)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E7A #1E9A3E
analogous
#7C1E9A #9A1E7A #9A1E3C
triadic
#9A1E7A #7A9A1E #1E7A9A
tetradic
#9A1E7A #9A7C1E #1E9A3E #1E3C9A
square
#9A1E7A #9A7C1E #1E9A3E #1E3C9A
split-complementary
#9A1E7A #3C9A1E #1E9A7C
monochromatic
#340A29 #671451 #9A1E7A #CD28A3 #DE55BA

Accessibility & contrast

On white

7.39
#9A1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E7A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E7A#FFFFFF#000000##FFFFFF
##9A1E7A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#A4214B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a1e7a;
/* rgb */ color: rgb(154, 30, 122);
/* oklch */ color: oklch(47.6% 0.183 341.1);
Tailwind
colors: {
  custom: {
    50: '#bc69a0',
    500: '#9a1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e7a;
$custom-light: #bc69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e7a",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 315.484,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47584,
    "c": 0.18271,
    "h": 341.1
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#9A1E7A
secondary
#53C16F
accent
#EA6A3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #9A1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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