#9A1E47#9A1E47

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

Color values

HEX#9A1E47
RGBrgb(154, 30, 71)
HSLhsl(340, 67%, 36%)
HSVhsv(340, 81%, 60%)
CMYKcmyk(0%, 80.5%, 53.9%, 39.6%)
CIE-LABlab(34.51, 52.06, 7.86)
CIE-LCHlch(34.51, 52.65, 8.59°)
OKLaboklab(45.61% 0.1588 0.0202)
OKLCHoklch(45.61% 0.16 7.3)
XYZxyz(14.9294, 8.2556, 6.7674)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E47 #1E9A71
analogous
#9A1E85 #9A1E47 #9A331E
triadic
#9A1E47 #479A1E #1E479A
tetradic
#9A1E47 #859A1E #1E9A71 #331E9A
square
#9A1E47 #859A1E #1E9A71 #331E9A
split-complementary
#9A1E47 #1E9A33 #1E859A
monochromatic
#340A18 #67142F #9A1E47 #CD285F #DE5582

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A1E47#FFFFFF#000000##FFFFFF
##9A1E471.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)
#3F4148
Deuteranopia (green-blind)
#5F5A44
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1e47;
/* rgb */ color: rgb(154, 30, 71);
/* oklch */ color: oklch(45.6% 0.160 7.3);
Tailwind
colors: {
  custom: {
    50: '#be6779',
    500: '#9a1e47',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e47;
$custom-light: #be6779;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e47",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 340.161,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45614,
    "c": 0.16004,
    "h": 7.3
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#9A1E47
secondary
#53C19D
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1E47

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

Preview Lab → · Contrast checker → · Palette generator →

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