#8F2A57#8F2A57

#8F2A57 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.142 H 357.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8F2A57
RGBrgb(143, 42, 87)
HSLhsl(333, 55%, 36%)
HSVhsv(333, 71%, 56%)
CMYKcmyk(0%, 70.6%, 39.2%, 43.9%)
CIE-LABlab(34.37, 46.19, -2.99)
CIE-LCHlch(34.37, 46.28, 356.30°)
OKLaboklab(45.28% 0.1415 -0.0073)
OKLCHoklch(45.28% 0.142 357.1)
XYZxyz(13.8769, 8.1853, 9.8641)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A57 #2A8F62
analogous
#8F2A8A #8F2A57 #8F2F2A
triadic
#8F2A57 #578F2A #2A578F
tetradic
#8F2A57 #8A8F2A #2A8F62 #2F2A8F
square
#8F2A57 #8A8F2A #2A8F62 #2F2A8F
split-complementary
#8F2A57 #2A8F2F #2A8A8F
monochromatic
#300E1D #601C3A #8F2A57 #BE3874 #D16294

Accessibility & contrast

On white

7.96
#8F2A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F2A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A57
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A57#FFFFFF#000000##FFFFFF
##8F2A571.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#595855
Tritanopia (blue-blind)
#9B203D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2a57;
/* rgb */ color: rgb(143, 42, 87);
/* oklch */ color: oklch(45.3% 0.142 357.1);
Tailwind
colors: {
  custom: {
    50: '#b46b86',
    500: '#8f2a57',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a57;
$custom-light: #b46b86;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a57",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 333.267,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.1417,
    "h": 357.1
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#8F2A57
secondary
#5EB78F
accent
#DE9C4A
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2A57

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

Preview Lab → · Contrast checker → · Palette generator →

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