#9A1E71#9A1E71

#9A1E71 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.177 H 345.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9A1E71
RGBrgb(154, 30, 113)
HSLhsl(320, 67%, 36%)
HSVhsv(320, 81%, 60%)
CMYKcmyk(0%, 80.5%, 26.6%, 39.6%)
CIE-LABlab(35.97, 56.44, -16.96)
CIE-LCHlch(35.97, 58.93, 343.27°)
OKLaboklab(47.16% 0.1714 -0.0451)
OKLCHoklch(47.16% 0.177 345.2)
XYZxyz(16.7721, 8.9927, 16.4721)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E71 #1E9A47
analogous
#851E9A #9A1E71 #9A1E33
triadic
#9A1E71 #719A1E #1E719A
tetradic
#9A1E71 #9A851E #1E9A47 #1E339A
square
#9A1E71 #9A851E #1E9A47 #1E339A
split-complementary
#9A1E71 #339A1E #1E9A85
monochromatic
#340A26 #67144B #9A1E71 #CD2897 #DE55B0

Accessibility & contrast

On white

7.50
#9A1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9A1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E71
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E71#FFFFFF#000000##FFFFFF
##9A1E711.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304773
Deuteranopia (green-blind)
#565C6E
Tritanopia (blue-blind)
#A51B46
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1e71;
/* rgb */ color: rgb(154, 30, 113);
/* oklch */ color: oklch(47.2% 0.177 345.2);
Tailwind
colors: {
  custom: {
    50: '#bc699a',
    500: '#9a1e71',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e71;
$custom-light: #bc699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e71",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 319.839,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.17721,
    "h": 345.2
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#9A1E71
secondary
#53C177
accent
#EA773E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9A1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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