#8F2A51#8F2A51

#8F2A51 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.139 H 0.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8F2A51
RGBrgb(143, 42, 81)
HSLhsl(337, 55%, 36%)
HSVhsv(337, 71%, 56%)
CMYKcmyk(0%, 70.6%, 43.4%, 43.9%)
CIE-LABlab(34.17, 45.53, 0.61)
CIE-LCHlch(34.17, 45.53, 0.76°)
OKLaboklab(45.07% 0.1394 0.0021)
OKLCHoklch(45.07% 0.139 0.9)
XYZxyz(13.6418, 8.0913, 8.6264)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A51 #2A8F68
analogous
#8F2A84 #8F2A51 #8F362A
triadic
#8F2A51 #518F2A #2A518F
tetradic
#8F2A51 #848F2A #2A8F68 #362A8F
square
#8F2A51 #848F2A #2A8F68 #362A8F
split-complementary
#8F2A51 #2A8F36 #2A848F
monochromatic
#300E1B #601C36 #8F2A51 #BE386C #D1628D

Accessibility & contrast

On white

8.02
#8F2A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F2A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A51
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A51#FFFFFF#000000##FFFFFF
##8F2A511.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4452
Deuteranopia (green-blind)
#5A574F
Tritanopia (blue-blind)
#9B1D3A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2a51;
/* rgb */ color: rgb(143, 42, 81);
/* oklch */ color: oklch(45.1% 0.139 0.9);
Tailwind
colors: {
  custom: {
    50: '#b46b81',
    500: '#8f2a51',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a51;
$custom-light: #b46b81;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a51",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 336.832,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45071,
    "c": 0.13944,
    "h": 0.9
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#8F2A51
secondary
#5EB795
accent
#DEA54A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2A51

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

Preview Lab → · Contrast checker → · Palette generator →

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