#8F2147#8F2147

#8F2147 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.147 H 5.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8F2147
RGBrgb(143, 33, 71)
HSLhsl(339, 63%, 35%)
HSVhsv(339, 77%, 56%)
CMYKcmyk(0%, 76.9%, 50.3%, 43.9%)
CIE-LABlab(32.67, 47.91, 4.95)
CIE-LCHlch(32.67, 48.17, 5.89°)
OKLaboklab(43.86% 0.1465 0.0131)
OKLCHoklch(43.86% 0.147 5.1)
XYZxyz(13.0100, 7.3841, 6.7002)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2147 #218F69
analogous
#8F217E #8F2147 #8F3221
triadic
#8F2147 #478F21 #21478F
tetradic
#8F2147 #7E8F21 #218F69 #32218F
square
#8F2147 #7E8F21 #218F69 #32218F
split-complementary
#8F2147 #218F32 #217E8F
monochromatic
#2C0A16 #5D162E #8F2147 #C12C60 #D75381

Accessibility & contrast

On white

8.48
#8F2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8F2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2147
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2147#FFFFFF#000000##FFFFFF
##8F21471.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#595544
Tritanopia (blue-blind)
#9C0631
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f2147;
/* rgb */ color: rgb(143, 33, 71);
/* oklch */ color: oklch(43.9% 0.147 5.1);
Tailwind
colors: {
  custom: {
    50: '#b5677a',
    500: '#8f2147',
    950: '#000000',
  },
}
SCSS
$custom: #8f2147;
$custom-light: #b5677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2147",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 339.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.14707,
    "h": 5.1
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#8F2147
secondary
#51BB96
accent
#E6AD42
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F2147

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

Preview Lab → · Contrast checker → · Palette generator →

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