#8F163E#8F163E

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

Color values

HEX#8F163E
RGBrgb(143, 22, 62)
HSLhsl(340, 73%, 32%)
HSVhsv(340, 85%, 56%)
CMYKcmyk(0%, 84.6%, 56.6%, 43.9%)
CIE-LABlab(31.26, 50.46, 8.90)
CIE-LCHlch(31.26, 51.24, 10.01°)
OKLaboklab(42.75% 0.1536 0.0226)
OKLCHoklch(42.75% 0.155 8.4)
XYZxyz(12.4853, 6.7631, 5.2045)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F163E #168F67
analogous
#8F167B #8F163E #8F2A16
triadic
#8F163E #3E8F16 #163E8F
tetradic
#8F163E #7B8F16 #168F67 #2A168F
square
#8F163E #7B8F16 #168F67 #2A168F
split-complementary
#8F163E #168F2A #167B8F
monochromatic
#250610 #5A0E27 #8F163E #C41E55 #E13E74

Accessibility & contrast

On white

8.93
#8F163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F163E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F163E#FFFFFF#000000##FFFFFF
##8F163E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3F
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#9D0028
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f163e;
/* rgb */ color: rgb(143, 22, 62);
/* oklch */ color: oklch(42.8% 0.155 8.4);
Tailwind
colors: {
  custom: {
    50: '#b66372',
    500: '#8f163e',
    950: '#000000',
  },
}
SCSS
$custom: #8f163e;
$custom-light: #b66372;
$custom-dark: #000000;
JSON
{
  "hex": "#8f163e",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 340.165,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4275,
    "c": 0.15526,
    "h": 8.4
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#8F163E
secondary
#3FC196
accent
#F0B338
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F163E

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

Preview Lab → · Contrast checker → · Palette generator →

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