#9A1E48#9A1E48

#9A1E48 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.160 H 6.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9A1E48
RGBrgb(154, 30, 72)
HSLhsl(340, 67%, 36%)
HSVhsv(340, 81%, 60%)
CMYKcmyk(0%, 80.5%, 53.2%, 39.6%)
CIE-LABlab(34.54, 52.14, 7.25)
CIE-LCHlch(34.54, 52.65, 7.91°)
OKLaboklab(45.64% 0.1592 0.0188)
OKLCHoklch(45.64% 0.16 6.7)
XYZxyz(14.9618, 8.2686, 6.9378)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E48 #1E9A70
analogous
#9A1E86 #9A1E48 #9A321E
triadic
#9A1E48 #489A1E #1E489A
tetradic
#9A1E48 #869A1E #1E9A70 #321E9A
square
#9A1E48 #869A1E #1E9A70 #321E9A
split-complementary
#9A1E48 #1E9A32 #1E869A
monochromatic
#340A18 #671430 #9A1E48 #CD2860 #DE5583

Accessibility & contrast

On white

7.91
#9A1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1E48
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E48#FFFFFF#000000##FFFFFF
##9A1E481.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1e48;
/* rgb */ color: rgb(154, 30, 72);
/* oklch */ color: oklch(45.6% 0.160 6.7);
Tailwind
colors: {
  custom: {
    50: '#be687a',
    500: '#9a1e48',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e48;
$custom-light: #be687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e48",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 339.677,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.16025,
    "h": 6.7
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#9A1E48
secondary
#53C19C
accent
#EAB03E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1E48

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

Preview Lab → · Contrast checker → · Palette generator →

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