#8F163C#8F163C

#8F163C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.155 H 9.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8F163C
RGBrgb(143, 22, 60)
HSLhsl(341, 73%, 32%)
HSVhsv(341, 85%, 56%)
CMYKcmyk(0%, 84.6%, 58%, 43.9%)
CIE-LABlab(31.21, 50.31, 10.16)
CIE-LCHlch(31.21, 51.32, 11.42°)
OKLaboklab(42.7% 0.1528 0.0256)
OKLCHoklch(42.7% 0.155 9.5)
XYZxyz(12.4315, 6.7416, 4.9208)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F163C #168F69
analogous
#8F1679 #8F163C #8F2D16
triadic
#8F163C #3C8F16 #163C8F
tetradic
#8F163C #798F16 #168F69 #2D168F
square
#8F163C #798F16 #168F69 #2D168F
split-complementary
#8F163C #168F2D #16798F
monochromatic
#25060F #5A0E26 #8F163C #C41E52 #E13E71

Accessibility & contrast

On white

8.94
#8F163C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F163C
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F163C#FFFFFF#000000##FFFFFF
##8F163C1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3D
Deuteranopia (green-blind)
#585239
Tritanopia (blue-blind)
#9D0027
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f163c;
/* rgb */ color: rgb(143, 22, 60);
/* oklch */ color: oklch(42.7% 0.155 9.5);
Tailwind
colors: {
  custom: {
    50: '#b66371',
    500: '#8f163c',
    950: '#000000',
  },
}
SCSS
$custom: #8f163c;
$custom-light: #b66371;
$custom-dark: #000000;
JSON
{
  "hex": "#8f163c",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 60
  },
  "hsl": {
    "h": 341.157,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42696,
    "c": 0.15493,
    "h": 9.5
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#8F163C
secondary
#3FC199
accent
#F0B638
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8F163C

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

Preview Lab → · Contrast checker → · Palette generator →

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