#8F2A4A#8F2A4A

#8F2A4A is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.137 H 5.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8F2A4A
RGBrgb(143, 42, 74)
HSLhsl(341, 55%, 36%)
HSVhsv(341, 71%, 56%)
CMYKcmyk(0%, 70.6%, 48.3%, 43.9%)
CIE-LABlab(33.97, 44.82, 4.84)
CIE-LCHlch(33.97, 45.08, 6.17°)
OKLaboklab(44.85% 0.1368 0.0128)
OKLCHoklch(44.85% 0.137 5.4)
XYZxyz(13.3928, 7.9917, 7.3145)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A4A #2A8F6F
analogous
#8F2A7D #8F2A4A #8F3D2A
triadic
#8F2A4A #4A8F2A #2A4A8F
tetradic
#8F2A4A #7D8F2A #2A8F6F #3D2A8F
square
#8F2A4A #7D8F2A #2A8F6F #3D2A8F
split-complementary
#8F2A4A #2A8F3D #2A7D8F
monochromatic
#300E19 #601C32 #8F2A4A #BE3862 #D16285

Accessibility & contrast

On white

8.08
#8F2A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F2A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A4A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A4A#FFFFFF#000000##FFFFFF
##8F2A4A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41434B
Deuteranopia (green-blind)
#5B5748
Tritanopia (blue-blind)
#9C1A37
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2a4a;
/* rgb */ color: rgb(143, 42, 74);
/* oklch */ color: oklch(44.9% 0.137 5.4);
Tailwind
colors: {
  custom: {
    50: '#b56b7c',
    500: '#8f2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a4a;
$custom-light: #b56b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a4a",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 340.99,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.1374,
    "h": 5.4
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#8F2A4A
secondary
#5EB79B
accent
#DEAF4A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F2A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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