#8F2040#8F2040

#8F2040 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.147 H 9.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8F2040
RGBrgb(143, 32, 64)
HSLhsl(343, 63%, 34%)
HSVhsv(343, 78%, 56%)
CMYKcmyk(0%, 77.6%, 55.2%, 43.9%)
CIE-LABlab(32.36, 47.66, 9.11)
CIE-LCHlch(32.36, 48.52, 10.82°)
OKLaboklab(43.57% 0.1448 0.0232)
OKLCHoklch(43.57% 0.147 9.1)
XYZxyz(12.7708, 7.2446, 5.5754)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2040 #208F6F
analogous
#8F2078 #8F2040 #8F3820
triadic
#8F2040 #408F20 #20408F
tetradic
#8F2040 #788F20 #208F6F #38208F
square
#8F2040 #788F20 #208F6F #38208F
split-complementary
#8F2040 #208F38 #20788F
monochromatic
#2B0A13 #5D152A #8F2040 #C12B56 #D85178

Accessibility & contrast

On white

8.58
#8F2040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8F2040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2040
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2040#FFFFFF#000000##FFFFFF
##8F20401.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E41
Deuteranopia (green-blind)
#5A543D
Tritanopia (blue-blind)
#9C002E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f2040;
/* rgb */ color: rgb(143, 32, 64);
/* oklch */ color: oklch(43.6% 0.147 9.1);
Tailwind
colors: {
  custom: {
    50: '#b66674',
    500: '#8f2040',
    950: '#000000',
  },
}
SCSS
$custom: #8f2040;
$custom-light: #b66674;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2040",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 342.703,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43574,
    "c": 0.14667,
    "h": 9.1
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#8F2040
secondary
#4FBB9C
accent
#E6B741
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F2040

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

Preview Lab → · Contrast checker → · Palette generator →

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