#8F1B6E#8F1B6E

#8F1B6E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.171 H 342.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8F1B6E
RGBrgb(143, 27, 110)
HSLhsl(317, 68%, 33%)
HSVhsv(317, 81%, 56%)
CMYKcmyk(0%, 81.1%, 23.1%, 43.9%)
CIE-LABlab(33.46, 54.19, -19.11)
CIE-LCHlch(33.46, 57.46, 340.58°)
OKLaboklab(44.91% 0.1634 -0.0513)
OKLCHoklch(44.91% 0.171 342.6)
XYZxyz(14.5346, 7.7509, 15.4794)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B6E #1B8F3C
analogous
#761B8F #8F1B6E #8F1B34
triadic
#8F1B6E #6E8F1B #1B6E8F
tetradic
#8F1B6E #8F761B #1B8F3C #1B348F
square
#8F1B6E #8F761B #1B8F3C #1B348F
split-complementary
#8F1B6E #348F1B #1B8F76
monochromatic
#28081F #5C1146 #8F1B6E #C22596 #DC48B2

Accessibility & contrast

On white

8.24
#8F1B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F1B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B6E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B6E#FFFFFF#000000##FFFFFF
##8F1B6E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284370
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#981C43
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1b6e;
/* rgb */ color: rgb(143, 27, 110);
/* oklch */ color: oklch(44.9% 0.171 342.6);
Tailwind
colors: {
  custom: {
    50: '#b46697',
    500: '#8f1b6e',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b6e;
$custom-light: #b46697;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b6e",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 317.069,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44914,
    "c": 0.17122,
    "h": 342.6
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#8F1B6E
secondary
#48BE69
accent
#EB6E3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F1B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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