#9A1E4C#9A1E4C

#9A1E4C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.161 H 4.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9A1E4C
RGBrgb(154, 30, 76)
HSLhsl(338, 67%, 36%)
HSVhsv(338, 81%, 60%)
CMYKcmyk(0%, 80.5%, 50.6%, 39.6%)
CIE-LABlab(34.65, 52.48, 4.80)
CIE-LCHlch(34.65, 52.70, 5.23°)
OKLaboklab(45.76% 0.1607 0.0127)
OKLCHoklch(45.76% 0.161 4.5)
XYZxyz(15.0965, 8.3225, 7.6475)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E4C #1E9A6C
analogous
#9A1E8A #9A1E4C #9A2E1E
triadic
#9A1E4C #4C9A1E #1E4C9A
tetradic
#9A1E4C #8A9A1E #1E9A6C #2E1E9A
square
#9A1E4C #8A9A1E #1E9A6C #2E1E9A
split-complementary
#9A1E4C #1E9A2E #1E8A9A
monochromatic
#340A19 #671433 #9A1E4C #CD2865 #DE5587

Accessibility & contrast

On white

7.88
#9A1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1E4C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E4C#FFFFFF#000000##FFFFFF
##9A1E4C1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1e4c;
/* rgb */ color: rgb(154, 30, 76);
/* oklch */ color: oklch(45.8% 0.161 4.5);
Tailwind
colors: {
  custom: {
    50: '#be687d',
    500: '#9a1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e4c;
$custom-light: #be687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e4c",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 337.742,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.16117,
    "h": 4.5
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#9A1E4C
secondary
#53C198
accent
#EAAA3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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