#9A1C4E#9A1C4E

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

Color values

HEX#9A1C4E
RGBrgb(154, 28, 78)
HSLhsl(336, 69%, 36%)
HSVhsv(336, 82%, 60%)
CMYKcmyk(0%, 81.8%, 49.4%, 39.6%)
CIE-LABlab(34.50, 53.22, 3.30)
CIE-LCHlch(34.50, 53.32, 3.55°)
OKLaboklab(45.67% 0.1632 0.009)
OKLCHoklch(45.67% 0.163 3.1)
XYZxyz(15.1181, 8.2527, 8.0031)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C4E #1C9A68
analogous
#9A1C8D #9A1C4E #9A291C
triadic
#9A1C4E #4E9A1C #1C4E9A
tetradic
#9A1C4E #8D9A1C #1C9A68 #291C9A
square
#9A1C4E #8D9A1C #1C9A68 #291C9A
split-complementary
#9A1C4E #1C9A29 #1C8D9A
monochromatic
#32091A #661334 #9A1C4E #CE2568 #DF518A

Accessibility & contrast

On white

7.92
#9A1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9A1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1C4E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C4E#FFFFFF#000000##FFFFFF
##9A1C4E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C424F
Deuteranopia (green-blind)
#5E5A4B
Tritanopia (blue-blind)
#A80033
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1c4e;
/* rgb */ color: rgb(154, 28, 78);
/* oklch */ color: oklch(45.7% 0.163 3.1);
Tailwind
colors: {
  custom: {
    50: '#be677f',
    500: '#9a1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c4e;
$custom-light: #be677f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c4e",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 336.19,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.16348,
    "h": 3.1
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#9A1C4E
secondary
#50C295
accent
#ECA63C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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