#8F2452#8F2452

#8F2452 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.147 H 359.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8F2452
RGBrgb(143, 36, 82)
HSLhsl(334, 60%, 35%)
HSVhsv(334, 75%, 56%)
CMYKcmyk(0%, 74.8%, 42.7%, 43.9%)
CIE-LABlab(33.38, 47.93, -1.21)
CIE-LCHlch(33.38, 47.95, 358.56°)
OKLaboklab(44.5% 0.1471 -0.0026)
OKLCHoklch(44.5% 0.147 359)
XYZxyz(13.4825, 7.7123, 8.7596)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2452 #248F61
analogous
#8F2487 #8F2452 #8F2C24
triadic
#8F2452 #528F24 #24528F
tetradic
#8F2452 #878F24 #248F61 #2C248F
square
#8F2452 #878F24 #248F61 #2C248F
split-complementary
#8F2452 #248F2C #24878F
monochromatic
#2D0B1A #5E1836 #8F2452 #C0306E #D5588E

Accessibility & contrast

On white

8.26
#8F2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8F2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2452
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2452#FFFFFF#000000##FFFFFF
##8F24521.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#585650
Tritanopia (blue-blind)
#9B1538
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f2452;
/* rgb */ color: rgb(143, 36, 82);
/* oklch */ color: oklch(44.5% 0.147 359.0);
Tailwind
colors: {
  custom: {
    50: '#b46982',
    500: '#8f2452',
    950: '#000000',
  },
}
SCSS
$custom: #8f2452;
$custom-light: #b46982;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2452",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 334.206,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44495,
    "c": 0.14713,
    "h": 359
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#8F2452
secondary
#55B98E
accent
#E39F45
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2452

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

Preview Lab → · Contrast checker → · Palette generator →

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