#9A1D4E#9A1D4E

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

Color values

HEX#9A1D4E
RGBrgb(154, 29, 78)
HSLhsl(336, 68%, 36%)
HSVhsv(336, 81%, 60%)
CMYKcmyk(0%, 81.2%, 49.4%, 39.6%)
CIE-LABlab(34.60, 52.94, 3.44)
CIE-LCHlch(34.60, 53.05, 3.72°)
OKLaboklab(45.75% 0.1623 0.0093)
OKLCHoklch(45.75% 0.163 3.3)
XYZxyz(15.1423, 8.3009, 8.0111)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D4E #1D9A69
analogous
#9A1D8C #9A1D4E #9A2A1D
triadic
#9A1D4E #4E9A1D #1D4E9A
tetradic
#9A1D4E #8C9A1D #1D9A69 #2A1D9A
square
#9A1D4E #8C9A1D #1D9A69 #2A1D9A
split-complementary
#9A1D4E #1D9A2A #1D8C9A
monochromatic
#330A1A #661334 #9A1D4E #CE2768 #DF538A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A1D4E#FFFFFF#000000##FFFFFF
##9A1D4E1.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)
#3D424F
Deuteranopia (green-blind)
#5E5A4B
Tritanopia (blue-blind)
#A80033
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1d4e;
/* rgb */ color: rgb(154, 29, 78);
/* oklch */ color: oklch(45.7% 0.163 3.3);
Tailwind
colors: {
  custom: {
    50: '#bd677f',
    500: '#9a1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d4e;
$custom-light: #bd677f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d4e",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 336.48,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.1626,
    "h": 3.3
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#9A1D4E
secondary
#51C296
accent
#EBA73D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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