#9E163A#9E163A

#9E163A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.168 H 13.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9E163A
RGBrgb(158, 22, 58)
HSLhsl(344, 76%, 35%)
HSVhsv(344, 86%, 62%)
CMYKcmyk(0%, 86.1%, 63.3%, 38%)
CIE-LABlab(34.30, 54.33, 16.17)
CIE-LCHlch(34.30, 56.68, 16.58°)
OKLaboklab(45.5% 0.1634 0.0394)
OKLCHoklch(45.5% 0.168 13.6)
XYZxyz(15.1528, 8.1508, 4.7776)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E163A #169E7A
analogous
#9E167E #9E163A #9E3616
triadic
#9E163A #3A9E16 #163A9E
tetradic
#9E163A #7E9E16 #169E7A #36169E
square
#9E163A #7E9E16 #169E7A #36169E
split-complementary
#9E163A #169E36 #167E9E
monochromatic
#330713 #680F26 #9E163A #D41D4E #E64972

Accessibility & contrast

On white

7.99
#9E163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9E163A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E163A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E163A#FFFFFF#000000##FFFFFF
##9E163A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F3A
Deuteranopia (green-blind)
#625A36
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e163a;
/* rgb */ color: rgb(158, 22, 58);
/* oklch */ color: oklch(45.5% 0.168 13.6);
Tailwind
colors: {
  custom: {
    50: '#c2656f',
    500: '#9e163a',
    950: '#000000',
  },
}
SCSS
$custom: #9e163a;
$custom-light: #c2656f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e163a",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 344.118,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45502,
    "c": 0.16806,
    "h": 13.6
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#9E163A
secondary
#49C7A6
accent
#F2C036
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140607
muted
#827A7A

Preview Lab

Preview with #9E163A

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

Preview Lab → · Contrast checker → · Palette generator →

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