#9A1E4D#9A1E4D

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

Color values

HEX#9A1E4D
RGBrgb(154, 30, 77)
HSLhsl(337, 67%, 36%)
HSVhsv(337, 81%, 60%)
CMYKcmyk(0%, 80.5%, 50%, 39.6%)
CIE-LABlab(34.67, 52.57, 4.19)
CIE-LCHlch(34.67, 52.73, 4.56°)
OKLaboklab(45.79% 0.161 0.0112)
OKLCHoklch(45.79% 0.161 4)
XYZxyz(15.1316, 8.3365, 7.8321)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E4D #1E9A6B
analogous
#9A1E8B #9A1E4D #9A2D1E
triadic
#9A1E4D #4D9A1E #1E4D9A
tetradic
#9A1E4D #8B9A1E #1E9A6B #2D1E9A
square
#9A1E4D #8B9A1E #1E9A6B #2D1E9A
split-complementary
#9A1E4D #1E9A2D #1E8B9A
monochromatic
#340A1A #671433 #9A1E4D #CD2867 #DE5589

Accessibility & contrast

On white

7.87
#9A1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9A1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E4D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E4D#FFFFFF#000000##FFFFFF
##9A1E4D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#5E5A4A
Tritanopia (blue-blind)
#A80033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1e4d;
/* rgb */ color: rgb(154, 30, 77);
/* oklch */ color: oklch(45.8% 0.161 4.0);
Tailwind
colors: {
  custom: {
    50: '#be687e',
    500: '#9a1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e4d;
$custom-light: #be687e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e4d",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 337.258,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.16143,
    "h": 4
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#9A1E4D
secondary
#53C197
accent
#EAA93E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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