#9A1D48#9A1D48

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

Color values

HEX#9A1D48
RGBrgb(154, 29, 72)
HSLhsl(339, 68%, 36%)
HSVhsv(339, 81%, 60%)
CMYKcmyk(0%, 81.2%, 53.2%, 39.6%)
CIE-LABlab(34.43, 52.43, 7.11)
CIE-LCHlch(34.43, 52.91, 7.72°)
OKLaboklab(45.57% 0.1601 0.0184)
OKLCHoklch(45.57% 0.161 6.6)
XYZxyz(14.9369, 8.2188, 6.9295)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D48 #1D9A6F
analogous
#9A1D86 #9A1D48 #9A301D
triadic
#9A1D48 #489A1D #1D489A
tetradic
#9A1D48 #869A1D #1D9A6F #301D9A
square
#9A1D48 #869A1D #1D9A6F #301D9A
split-complementary
#9A1D48 #1D9A30 #1D869A
monochromatic
#330A18 #661330 #9A1D48 #CE2760 #DF5383

Accessibility & contrast

On white

7.94
#9A1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9A1D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D48
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D48#FFFFFF#000000##FFFFFF
##9A1D481.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4149
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1d48;
/* rgb */ color: rgb(154, 29, 72);
/* oklch */ color: oklch(45.6% 0.161 6.6);
Tailwind
colors: {
  custom: {
    50: '#be677a',
    500: '#9a1d48',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d48;
$custom-light: #be677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d48",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 339.36,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.16113,
    "h": 6.6
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#9A1D48
secondary
#51C29B
accent
#EBAF3D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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