#8F2A4D#8F2A4D

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

Color values

HEX#8F2A4D
RGBrgb(143, 42, 77)
HSLhsl(339, 55%, 36%)
HSVhsv(339, 71%, 56%)
CMYKcmyk(0%, 70.6%, 46.2%, 43.9%)
CIE-LABlab(34.05, 45.11, 3.02)
CIE-LCHlch(34.05, 45.21, 3.83°)
OKLaboklab(44.94% 0.138 0.0083)
OKLCHoklch(44.94% 0.138 3.4)
XYZxyz(13.4962, 8.0331, 7.8596)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A4D #2A8F6C
analogous
#8F2A80 #8F2A4D #8F3A2A
triadic
#8F2A4D #4D8F2A #2A4D8F
tetradic
#8F2A4D #808F2A #2A8F6C #3A2A8F
square
#8F2A4D #808F2A #2A8F6C #3A2A8F
split-complementary
#8F2A4D #2A8F3A #2A808F
monochromatic
#300E1A #601C34 #8F2A4D #BE3866 #D16289

Accessibility & contrast

On white

8.06
#8F2A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F2A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A4D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A4D#FFFFFF#000000##FFFFFF
##8F2A4D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#5B574B
Tritanopia (blue-blind)
#9B1B38
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2a4d;
/* rgb */ color: rgb(143, 42, 77);
/* oklch */ color: oklch(44.9% 0.138 3.4);
Tailwind
colors: {
  custom: {
    50: '#b46b7e',
    500: '#8f2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a4d;
$custom-light: #b46b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a4d",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 339.208,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44942,
    "c": 0.1382,
    "h": 3.4
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#8F2A4D
secondary
#5EB798
accent
#DEAB4A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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