#9D163F#9D163F

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

Color values

HEX#9D163F
RGBrgb(157, 22, 63)
HSLhsl(342, 75%, 35%)
HSVhsv(342, 86%, 62%)
CMYKcmyk(0%, 86%, 59.9%, 38.4%)
CIE-LABlab(34.20, 54.38, 12.74)
CIE-LCHlch(34.20, 55.85, 13.19°)
OKLaboklab(45.43% 0.1647 0.0317)
OKLCHoklch(45.43% 0.168 10.9)
XYZxyz(15.0903, 8.1031, 5.4711)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D163F #169D74
analogous
#9D1682 #9D163F #9D3116
triadic
#9D163F #3F9D16 #163F9D
tetradic
#9D163F #829D16 #169D74 #31169D
square
#9D163F #829D16 #169D74 #31169D
split-complementary
#9D163F #169D31 #16829D
monochromatic
#320714 #670E29 #9D163F #D31E55 #E54878

Accessibility & contrast

On white

8.01
#9D163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9D163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D163F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D163F#FFFFFF#000000##FFFFFF
##9D163F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#615A3C
Tritanopia (blue-blind)
#AC0029
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9d163f;
/* rgb */ color: rgb(157, 22, 63);
/* oklch */ color: oklch(45.4% 0.168 10.9);
Tailwind
colors: {
  custom: {
    50: '#c16573',
    500: '#9d163f',
    950: '#000000',
  },
}
SCSS
$custom: #9d163f;
$custom-light: #c16573;
$custom-dark: #000000;
JSON
{
  "hex": "#9d163f",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 341.778,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45429,
    "c": 0.16767,
    "h": 10.9
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#9D163F
secondary
#48C7A0
accent
#F2B936
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140608
muted
#827A7B

Preview Lab

Preview with #9D163F

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

Preview Lab → · Contrast checker → · Palette generator →

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