#8F2252#8F2252

#8F2252 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.149 H 358.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8F2252
RGBrgb(143, 34, 82)
HSLhsl(334, 62%, 35%)
HSVhsv(334, 76%, 56%)
CMYKcmyk(0%, 76.2%, 42.7%, 43.9%)
CIE-LABlab(33.12, 48.64, -1.58)
CIE-LCHlch(33.12, 48.67, 358.14°)
OKLaboklab(44.31% 0.1494 -0.0035)
OKLCHoklch(44.31% 0.149 358.6)
XYZxyz(13.4237, 7.5946, 8.7400)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2252 #228F5F
analogous
#8F2289 #8F2252 #8F2922
triadic
#8F2252 #528F22 #22528F
tetradic
#8F2252 #898F22 #228F5F #29228F
square
#8F2252 #898F22 #228F5F #29228F
split-complementary
#8F2252 #228F29 #22898F
monochromatic
#2C0A19 #5E1636 #8F2252 #C02E6E #D7558E

Accessibility & contrast

On white

8.34
#8F2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2252
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2252#FFFFFF#000000##FFFFFF
##8F22521.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394153
Deuteranopia (green-blind)
#57554F
Tritanopia (blue-blind)
#9B1137
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f2252;
/* rgb */ color: rgb(143, 34, 82);
/* oklch */ color: oklch(44.3% 0.149 358.6);
Tailwind
colors: {
  custom: {
    50: '#b56882',
    500: '#8f2252',
    950: '#000000',
  },
}
SCSS
$custom: #8f2252;
$custom-light: #b56882;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2252",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 333.578,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.14941,
    "h": 358.6
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#8F2252
secondary
#52BA8D
accent
#E59E43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2252

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

Preview Lab → · Contrast checker → · Palette generator →

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