#9A1A4E#9A1A4E

#9A1A4E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.165 H 2.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9A1A4E
RGBrgb(154, 26, 78)
HSLhsl(336, 71%, 35%)
HSVhsv(336, 83%, 60%)
CMYKcmyk(0%, 83.1%, 49.4%, 39.6%)
CIE-LABlab(34.32, 53.76, 3.03)
CIE-LCHlch(34.32, 53.84, 3.22°)
OKLaboklab(45.54% 0.165 0.0083)
OKLCHoklch(45.54% 0.165 2.9)
XYZxyz(15.0723, 8.1610, 7.9878)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1A4E #1A9A66
analogous
#9A1A8E #9A1A4E #9A261A
triadic
#9A1A4E #4E9A1A #1A4E9A
tetradic
#9A1A4E #8E9A1A #1A9A66 #261A9A
square
#9A1A4E #8E9A1A #1A9A66 #261A9A
split-complementary
#9A1A4E #1A9A26 #1A8E9A
monochromatic
#310819 #661133 #9A1A4E #CE2369 #E14D89

Accessibility & contrast

On white

7.98
#9A1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9A1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1A4E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1A4E#FFFFFF#000000##FFFFFF
##9A1A4E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1a4e;
/* rgb */ color: rgb(154, 26, 78);
/* oklch */ color: oklch(45.5% 0.165 2.9);
Tailwind
colors: {
  custom: {
    50: '#be667f',
    500: '#9a1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1a4e;
$custom-light: #be667f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1a4e",
  "rgb": {
    "r": 154,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 335.625,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45535,
    "c": 0.16517,
    "h": 2.9
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#9A1A4E
secondary
#4DC393
accent
#EEA53A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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