#8F163F#8F163F

#8F163F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.155 H 7.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8F163F
RGBrgb(143, 22, 63)
HSLhsl(340, 73%, 32%)
HSVhsv(340, 85%, 56%)
CMYKcmyk(0%, 84.6%, 55.9%, 43.9%)
CIE-LABlab(31.29, 50.53, 8.27)
CIE-LCHlch(31.29, 51.21, 9.30°)
OKLaboklab(42.78% 0.154 0.0211)
OKLCHoklch(42.78% 0.155 7.8)
XYZxyz(12.5130, 6.7742, 5.3503)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F163F #168F66
analogous
#8F167C #8F163F #8F2916
triadic
#8F163F #3F8F16 #163F8F
tetradic
#8F163F #7C8F16 #168F66 #29168F
square
#8F163F #7C8F16 #168F66 #29168F
split-complementary
#8F163F #168F29 #167C8F
monochromatic
#250610 #5A0E28 #8F163F #C41E56 #E13E75

Accessibility & contrast

On white

8.92
#8F163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8F163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F163F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F163F#FFFFFF#000000##FFFFFF
##8F163F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#58523C
Tritanopia (blue-blind)
#9D0029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f163f;
/* rgb */ color: rgb(143, 22, 63);
/* oklch */ color: oklch(42.8% 0.155 7.8);
Tailwind
colors: {
  custom: {
    50: '#b66373',
    500: '#8f163f',
    950: '#000000',
  },
}
SCSS
$custom: #8f163f;
$custom-light: #b66373;
$custom-dark: #000000;
JSON
{
  "hex": "#8f163f",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 339.669,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.15543,
    "h": 7.8
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#8F163F
secondary
#3FC195
accent
#F0B238
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F163F

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

Preview Lab → · Contrast checker → · Palette generator →

#8F163F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva