#8F2B52#8F2B52

#8F2B52 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.138 H 0.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8F2B52
RGBrgb(143, 43, 82)
HSLhsl(337, 54%, 36%)
HSVhsv(337, 70%, 56%)
CMYKcmyk(0%, 69.9%, 42.7%, 43.9%)
CIE-LABlab(34.35, 45.23, 0.22)
CIE-LCHlch(34.35, 45.23, 0.28°)
OKLaboklab(45.21% 0.1385 0.0011)
OKLCHoklch(45.21% 0.138 0.5)
XYZxyz(13.7155, 8.1783, 8.8373)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B52 #2B8F68
analogous
#8F2B84 #8F2B52 #8F362B
triadic
#8F2B52 #528F2B #2B528F
tetradic
#8F2B52 #848F2B #2B8F68 #362B8F
square
#8F2B52 #848F2B #2B8F68 #362B8F
split-complementary
#8F2B52 #2B8F36 #2B848F
monochromatic
#310F1C #601D37 #8F2B52 #BE396D #D0648E

Accessibility & contrast

On white

7.97
#8F2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2B52
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B52#FFFFFF#000000##FFFFFF
##8F2B521.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4553
Deuteranopia (green-blind)
#5A5850
Tritanopia (blue-blind)
#9B1F3B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2b52;
/* rgb */ color: rgb(143, 43, 82);
/* oklch */ color: oklch(45.2% 0.138 0.5);
Tailwind
colors: {
  custom: {
    50: '#b46c82',
    500: '#8f2b52',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b52;
$custom-light: #b46c82;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b52",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 336.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45214,
    "c": 0.13848,
    "h": 0.5
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#8F2B52
secondary
#5FB795
accent
#DDA44B
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2B52

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

Preview Lab → · Contrast checker → · Palette generator →

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