#9E163F#9E163F

#9E163F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.169 H 11.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9E163F
RGBrgb(158, 22, 63)
HSLhsl(342, 76%, 35%)
HSVhsv(342, 86%, 62%)
CMYKcmyk(0%, 86.1%, 60.1%, 38%)
CIE-LABlab(34.40, 54.65, 13.06)
CIE-LCHlch(34.40, 56.19, 13.44°)
OKLaboklab(45.62% 0.1654 0.0324)
OKLCHoklch(45.62% 0.169 11.1)
XYZxyz(15.2863, 8.2041, 5.4803)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E163F #169E75
analogous
#9E1683 #9E163F #9E3116
triadic
#9E163F #3F9E16 #163F9E
tetradic
#9E163F #839E16 #169E75 #31169E
square
#9E163F #839E16 #169E75 #31169E
split-complementary
#9E163F #169E31 #16839E
monochromatic
#330714 #680F2A #9E163F #D41D54 #E64978

Accessibility & contrast

On white

7.95
#9E163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9E163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E163F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E163F#FFFFFF#000000##FFFFFF
##9E163F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e163f;
/* rgb */ color: rgb(158, 22, 63);
/* oklch */ color: oklch(45.6% 0.169 11.1);
Tailwind
colors: {
  custom: {
    50: '#c26573',
    500: '#9e163f',
    950: '#000000',
  },
}
SCSS
$custom: #9e163f;
$custom-light: #c26573;
$custom-dark: #000000;
JSON
{
  "hex": "#9e163f",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 341.912,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.16854,
    "h": 11.1
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#9E163F
secondary
#49C7A1
accent
#F2B936
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E163F

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

Preview Lab → · Contrast checker → · Palette generator →

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