#8F2152#8F2152

#8F2152 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.151 H 358.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8F2152
RGBrgb(143, 33, 82)
HSLhsl(333, 63%, 35%)
HSVhsv(333, 77%, 56%)
CMYKcmyk(0%, 76.9%, 42.7%, 43.9%)
CIE-LABlab(33.00, 48.99, -1.76)
CIE-LCHlch(33.00, 49.02, 357.95°)
OKLaboklab(44.22% 0.1505 -0.004)
OKLCHoklch(44.22% 0.151 358.5)
XYZxyz(13.3955, 7.5383, 8.7306)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2152 #218F5E
analogous
#8F2189 #8F2152 #8F2721
triadic
#8F2152 #528F21 #21528F
tetradic
#8F2152 #898F21 #218F5E #27218F
square
#8F2152 #898F21 #218F5E #27218F
split-complementary
#8F2152 #218F27 #21898F
monochromatic
#2C0A19 #5D1635 #8F2152 #C12C6F #D7538E

Accessibility & contrast

On white

8.38
#8F2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8F2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2152
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2152#FFFFFF#000000##FFFFFF
##8F21521.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2152;
/* rgb */ color: rgb(143, 33, 82);
/* oklch */ color: oklch(44.2% 0.151 358.5);
Tailwind
colors: {
  custom: {
    50: '#b56782',
    500: '#8f2152',
    950: '#000000',
  },
}
SCSS
$custom: #8f2152;
$custom-light: #b56782;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2152",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 333.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.15051,
    "h": 358.5
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#8F2152
secondary
#51BB8C
accent
#E69D42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2152

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

Preview Lab → · Contrast checker → · Palette generator →

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