#9A1C4D#9A1C4D

#9A1C4D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.163 H 3.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9A1C4D
RGBrgb(154, 28, 77)
HSLhsl(337, 69%, 36%)
HSVhsv(337, 82%, 60%)
CMYKcmyk(0%, 81.8%, 50%, 39.6%)
CIE-LABlab(34.47, 53.13, 3.91)
CIE-LCHlch(34.47, 53.28, 4.21°)
OKLaboklab(45.64% 0.1629 0.0105)
OKLCHoklch(45.64% 0.163 3.7)
XYZxyz(15.0826, 8.2385, 7.8157)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C4D #1C9A69
analogous
#9A1C8C #9A1C4D #9A2A1C
triadic
#9A1C4D #4D9A1C #1C4D9A
tetradic
#9A1C4D #8C9A1C #1C9A69 #2A1C9A
square
#9A1C4D #8C9A1C #1C9A69 #2A1C9A
split-complementary
#9A1C4D #1C9A2A #1C8C9A
monochromatic
#320919 #661333 #9A1C4D #CE2567 #DF5188

Accessibility & contrast

On white

7.93
#9A1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1C4D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C4D#FFFFFF#000000##FFFFFF
##9A1C4D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1c4d;
/* rgb */ color: rgb(154, 28, 77);
/* oklch */ color: oklch(45.6% 0.163 3.7);
Tailwind
colors: {
  custom: {
    50: '#be677e',
    500: '#9a1c4d',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c4d;
$custom-light: #be677e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c4d",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 336.667,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.16321,
    "h": 3.7
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#9A1C4D
secondary
#50C296
accent
#ECA73C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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