#9A1A7E#9A1A7E

#9A1A7E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.189 H 339.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9A1A7E
RGBrgb(154, 26, 126)
HSLhsl(313, 71%, 35%)
HSVhsv(313, 83%, 60%)
CMYKcmyk(0%, 83.1%, 18.2%, 39.6%)
CIE-LABlab(36.21, 59.21, -24.75)
CIE-LCHlch(36.21, 64.17, 337.31°)
OKLaboklab(47.53% 0.1765 -0.0671)
OKLCHoklch(47.53% 0.189 339.2)
XYZxyz(17.4622, 9.1170, 20.5747)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1A7E #1A9A36
analogous
#761A9A #9A1A7E #9A1A3E
triadic
#9A1A7E #7E9A1A #1A7E9A
tetradic
#9A1A7E #9A761A #1A9A36 #1A3E9A
square
#9A1A7E #9A761A #1A9A36 #1A3E9A
split-complementary
#9A1A7E #3E9A1A #1A9A76
monochromatic
#310828 #661153 #9A1A7E #CE23A9 #E14DC1

Accessibility & contrast

On white

7.44
#9A1A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9A1A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1A7E
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1A7E#FFFFFF#000000##FFFFFF
##9A1A7E1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A3214C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1a7e;
/* rgb */ color: rgb(154, 26, 126);
/* oklch */ color: oklch(47.5% 0.189 339.2);
Tailwind
colors: {
  custom: {
    50: '#bc68a3',
    500: '#9a1a7e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1a7e;
$custom-light: #bc68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1a7e",
  "rgb": {
    "r": 154,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 313.125,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.1888,
    "h": 339.2
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#9A1A7E
secondary
#4DC367
accent
#EE613A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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