#9A1E4A#9A1E4A

#9A1E4A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.161 H 5.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9A1E4A
RGBrgb(154, 30, 74)
HSLhsl(339, 67%, 36%)
HSVhsv(339, 81%, 60%)
CMYKcmyk(0%, 80.5%, 51.9%, 39.6%)
CIE-LABlab(34.59, 52.31, 6.02)
CIE-LCHlch(34.59, 52.66, 6.57°)
OKLaboklab(45.7% 0.1599 0.0158)
OKLCHoklch(45.7% 0.161 5.6)
XYZxyz(15.0281, 8.2951, 7.2870)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E4A #1E9A6E
analogous
#9A1E88 #9A1E4A #9A301E
triadic
#9A1E4A #4A9A1E #1E4A9A
tetradic
#9A1E4A #889A1E #1E9A6E #301E9A
square
#9A1E4A #889A1E #1E9A6E #301E9A
split-complementary
#9A1E4A #1E9A30 #1E889A
monochromatic
#340A19 #671431 #9A1E4A #CD2863 #DE5585

Accessibility & contrast

On white

7.90
#9A1E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9A1E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E4A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E4A#FFFFFF#000000##FFFFFF
##9A1E4A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424B
Deuteranopia (green-blind)
#5F5A47
Tritanopia (blue-blind)
#A80032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1e4a;
/* rgb */ color: rgb(154, 30, 74);
/* oklch */ color: oklch(45.7% 0.161 5.6);
Tailwind
colors: {
  custom: {
    50: '#be687c',
    500: '#9a1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e4a;
$custom-light: #be687c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e4a",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 338.71,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45699,
    "c": 0.16068,
    "h": 5.6
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#9A1E4A
secondary
#53C19A
accent
#EAAD3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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