#8F2168#8F2168

#8F2168 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.161 H 346.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8F2168
RGBrgb(143, 33, 104)
HSLhsl(321, 63%, 35%)
HSVhsv(321, 77%, 56%)
CMYKcmyk(0%, 76.9%, 27.3%, 43.9%)
CIE-LABlab(33.83, 51.57, -14.71)
CIE-LCHlch(33.83, 53.63, 344.08°)
OKLaboklab(45.1% 0.1566 -0.039)
OKLCHoklch(45.1% 0.161 346)
XYZxyz(14.3709, 7.9284, 13.8675)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2168 #218F48
analogous
#7F218F #8F2168 #8F2131
triadic
#8F2168 #688F21 #21688F
tetradic
#8F2168 #8F7F21 #218F48 #21318F
square
#8F2168 #8F7F21 #218F48 #21318F
split-complementary
#8F2168 #318F21 #218F7F
monochromatic
#2C0A20 #5D1644 #8F2168 #C12C8C #D753A8

Accessibility & contrast

On white

8.12
#8F2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2168
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2168#FFFFFF#000000##FFFFFF
##8F21681.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446A
Deuteranopia (green-blind)
#515666
Tritanopia (blue-blind)
#991E42
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2168;
/* rgb */ color: rgb(143, 33, 104);
/* oklch */ color: oklch(45.1% 0.161 346.0);
Tailwind
colors: {
  custom: {
    50: '#b46893',
    500: '#8f2168',
    950: '#000000',
  },
}
SCSS
$custom: #8f2168;
$custom-light: #b46893;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2168",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 321.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.16136,
    "h": 346
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#8F2168
secondary
#51BB76
accent
#E67C42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F2168

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

Preview Lab → · Contrast checker → · Palette generator →

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