#8F2A52#8F2A52

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

Color values

HEX#8F2A52
RGBrgb(143, 42, 82)
HSLhsl(336, 55%, 36%)
HSVhsv(336, 71%, 56%)
CMYKcmyk(0%, 70.6%, 42.7%, 43.9%)
CIE-LABlab(34.20, 45.63, 0.00)
CIE-LCHlch(34.20, 45.63, 0.00°)
OKLaboklab(45.1% 0.1398 0.0005)
OKLCHoklch(45.1% 0.14 0.2)
XYZxyz(13.6796, 8.1064, 8.8253)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A52 #2A8F67
analogous
#8F2A85 #8F2A52 #8F352A
triadic
#8F2A52 #528F2A #2A528F
tetradic
#8F2A52 #858F2A #2A8F67 #352A8F
square
#8F2A52 #858F2A #2A8F67 #352A8F
split-complementary
#8F2A52 #2A8F35 #2A858F
monochromatic
#300E1C #601C37 #8F2A52 #BE386D #D1628E

Accessibility & contrast

On white

8.01
#8F2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2A52
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A52#FFFFFF#000000##FFFFFF
##8F2A521.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2a52;
/* rgb */ color: rgb(143, 42, 82);
/* oklch */ color: oklch(45.1% 0.140 0.2);
Tailwind
colors: {
  custom: {
    50: '#b46b82',
    500: '#8f2a52',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a52;
$custom-light: #b46b82;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a52",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 336.238,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.13978,
    "h": 0.2
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#8F2A52
secondary
#5EB794
accent
#DEA34A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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