#9E163C#9E163C

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

Color values

HEX#9E163C
RGBrgb(158, 22, 60)
HSLhsl(343, 76%, 35%)
HSVhsv(343, 86%, 62%)
CMYKcmyk(0%, 86.1%, 62%, 38%)
CIE-LABlab(34.34, 54.45, 14.93)
CIE-LCHlch(34.34, 56.46, 15.33°)
OKLaboklab(45.55% 0.1642 0.0366)
OKLCHoklch(45.55% 0.168 12.6)
XYZxyz(15.2047, 8.1715, 5.0507)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E163C #169E78
analogous
#9E1680 #9E163C #9E3416
triadic
#9E163C #3C9E16 #163C9E
tetradic
#9E163C #809E16 #169E78 #34169E
square
#9E163C #809E16 #169E78 #34169E
split-complementary
#9E163C #169E34 #16809E
monochromatic
#330713 #680F28 #9E163C #D41D50 #E64975

Accessibility & contrast

On white

7.97
#9E163C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E163C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E163C#FFFFFF#000000##FFFFFF
##9E163C1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F3C
Deuteranopia (green-blind)
#625A38
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e163c;
/* rgb */ color: rgb(158, 22, 60);
/* oklch */ color: oklch(45.5% 0.168 12.6);
Tailwind
colors: {
  custom: {
    50: '#c26571',
    500: '#9e163c',
    950: '#000000',
  },
}
SCSS
$custom: #9e163c;
$custom-light: #c26571;
$custom-dark: #000000;
JSON
{
  "hex": "#9e163c",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 60
  },
  "hsl": {
    "h": 343.235,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.16823,
    "h": 12.6
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#9E163C
secondary
#49C7A4
accent
#F2BD36
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E163C

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

Preview Lab → · Contrast checker → · Palette generator →

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