#8F2852#8F2852

#8F2852 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.142 H 359.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8F2852
RGBrgb(143, 40, 82)
HSLhsl(336, 56%, 36%)
HSVhsv(336, 72%, 56%)
CMYKcmyk(0%, 72%, 42.7%, 43.9%)
CIE-LABlab(33.92, 46.43, -0.42)
CIE-LCHlch(33.92, 46.43, 359.49°)
OKLaboklab(44.89% 0.1423 -0.0005)
OKLCHoklch(44.89% 0.142 359.8)
XYZxyz(13.6104, 7.9681, 8.8023)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2852 #288F65
analogous
#8F2885 #8F2852 #8F3128
triadic
#8F2852 #528F28 #28528F
tetradic
#8F2852 #858F28 #288F65 #31288F
square
#8F2852 #858F28 #288F65 #31288F
split-complementary
#8F2852 #288F31 #28858F
monochromatic
#2F0D1B #5F1B37 #8F2852 #BF356D #D25F8E

Accessibility & contrast

On white

8.10
#8F2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F2852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2852
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2852#FFFFFF#000000##FFFFFF
##8F28521.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#595750
Tritanopia (blue-blind)
#9B1B3A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2852;
/* rgb */ color: rgb(143, 40, 82);
/* oklch */ color: oklch(44.9% 0.142 359.8);
Tailwind
colors: {
  custom: {
    50: '#b46a82',
    500: '#8f2852',
    950: '#000000',
  },
}
SCSS
$custom: #8f2852;
$custom-light: #b46a82;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2852",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 335.534,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44892,
    "c": 0.14231,
    "h": 359.8
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#8F2852
secondary
#5BB892
accent
#E0A248
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2852

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

Preview Lab → · Contrast checker → · Palette generator →

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