#8F1852#8F1852

#8F1852 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.159 H 357.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8F1852
RGBrgb(143, 24, 82)
HSLhsl(331, 71%, 33%)
HSVhsv(331, 83%, 56%)
CMYKcmyk(0%, 83.2%, 42.7%, 43.9%)
CIE-LABlab(32.04, 51.71, -3.17)
CIE-LCHlch(32.04, 51.81, 356.49°)
OKLaboklab(43.52% 0.1592 -0.0077)
OKLCHoklch(43.52% 0.159 357.2)
XYZxyz(13.1783, 7.1039, 8.6582)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1852 #188F55
analogous
#8F188D #8F1852 #8F1918
triadic
#8F1852 #528F18 #18528F
tetradic
#8F1852 #8D8F18 #188F55 #19188F
square
#8F1852 #8D8F18 #188F55 #19188F
split-complementary
#8F1852 #188F19 #188D8F
monochromatic
#260616 #5B0F34 #8F1852 #C32170 #DF428F

Accessibility & contrast

On white

8.68
#8F1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8F1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1852
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1852#FFFFFF#000000##FFFFFF
##8F18521.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#9B0033
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1852;
/* rgb */ color: rgb(143, 24, 82);
/* oklch */ color: oklch(43.5% 0.159 357.2);
Tailwind
colors: {
  custom: {
    50: '#b56482',
    500: '#8f1852',
    950: '#000000',
  },
}
SCSS
$custom: #8f1852;
$custom-light: #b56482;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1852",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 330.756,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.15938,
    "h": 357.2
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#8F1852
secondary
#43C083
accent
#EE963A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F1852

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

Preview Lab → · Contrast checker → · Palette generator →

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