#9A1E4E#9A1E4E

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

Color values

HEX#9A1E4E
RGBrgb(154, 30, 78)
HSLhsl(337, 67%, 36%)
HSVhsv(337, 81%, 60%)
CMYKcmyk(0%, 80.5%, 49.4%, 39.6%)
CIE-LABlab(34.70, 52.65, 3.58)
CIE-LCHlch(34.70, 52.78, 3.89°)
OKLaboklab(45.82% 0.1614 0.0097)
OKLCHoklch(45.82% 0.162 3.4)
XYZxyz(15.1672, 8.3507, 8.0194)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E4E #1E9A6A
analogous
#9A1E8C #9A1E4E #9A2C1E
triadic
#9A1E4E #4E9A1E #1E4E9A
tetradic
#9A1E4E #8C9A1E #1E9A6A #2C1E9A
square
#9A1E4E #8C9A1E #1E9A6A #2C1E9A
split-complementary
#9A1E4E #1E9A2C #1E8C9A
monochromatic
#340A1A #671434 #9A1E4E #CD2868 #DE558A

Accessibility & contrast

On white

7.87
#9A1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9A1E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E4E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E4E#FFFFFF#000000##FFFFFF
##9A1E4E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#5E5A4B
Tritanopia (blue-blind)
#A80033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1e4e;
/* rgb */ color: rgb(154, 30, 78);
/* oklch */ color: oklch(45.8% 0.162 3.4);
Tailwind
colors: {
  custom: {
    50: '#bd687f',
    500: '#9a1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e4e;
$custom-light: #bd687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e4e",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 336.774,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.1617,
    "h": 3.4
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#9A1E4E
secondary
#53C196
accent
#EAA73E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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