#8F2157#8F2157

#8F2157 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.153 H 355.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8F2157
RGBrgb(143, 33, 87)
HSLhsl(331, 63%, 35%)
HSVhsv(331, 77%, 56%)
CMYKcmyk(0%, 76.9%, 39.2%, 43.9%)
CIE-LABlab(33.17, 49.52, -4.76)
CIE-LCHlch(33.17, 49.75, 354.51°)
OKLaboklab(44.4% 0.1521 -0.0119)
OKLCHoklch(44.4% 0.153 355.5)
XYZxyz(13.5928, 7.6172, 9.7694)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2157 #218F59
analogous
#8F218E #8F2157 #8F2221
triadic
#8F2157 #578F21 #21578F
tetradic
#8F2157 #8E8F21 #218F59 #22218F
square
#8F2157 #8E8F21 #218F59 #22218F
split-complementary
#8F2157 #218F22 #218E8F
monochromatic
#2C0A1A #5D1639 #8F2157 #C12C75 #D75394

Accessibility & contrast

On white

8.32
#8F2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2157
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2157#FFFFFF#000000##FFFFFF
##8F21571.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#565555
Tritanopia (blue-blind)
#9B1339
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f2157;
/* rgb */ color: rgb(143, 33, 87);
/* oklch */ color: oklch(44.4% 0.153 355.5);
Tailwind
colors: {
  custom: {
    50: '#b46786',
    500: '#8f2157',
    950: '#000000',
  },
}
SCSS
$custom: #8f2157;
$custom-light: #b46786;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2157",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 330.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.444,
    "c": 0.15256,
    "h": 355.5
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#8F2157
secondary
#51BB87
accent
#E69542
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2157

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

Preview Lab → · Contrast checker → · Palette generator →

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