#8F2142#8F2142

#8F2142 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.146 H 8.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8F2142
RGBrgb(143, 33, 66)
HSLhsl(342, 63%, 35%)
HSVhsv(342, 77%, 56%)
CMYKcmyk(0%, 76.9%, 53.8%, 43.9%)
CIE-LABlab(32.53, 47.48, 8.03)
CIE-LCHlch(32.53, 48.15, 9.60°)
OKLaboklab(43.72% 0.1445 0.0206)
OKLCHoklch(43.72% 0.146 8.1)
XYZxyz(12.8561, 7.3225, 5.8896)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2142 #218F6E
analogous
#8F2179 #8F2142 #8F3721
triadic
#8F2142 #428F21 #21428F
tetradic
#8F2142 #798F21 #218F6E #37218F
square
#8F2142 #798F21 #218F6E #37218F
split-complementary
#8F2142 #218F37 #21798F
monochromatic
#2C0A14 #5D162B #8F2142 #C12C59 #D7537B

Accessibility & contrast

On white

8.52
#8F2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8F2142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2142
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2142#FFFFFF#000000##FFFFFF
##8F21421.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E43
Deuteranopia (green-blind)
#5A543F
Tritanopia (blue-blind)
#9C022F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f2142;
/* rgb */ color: rgb(143, 33, 66);
/* oklch */ color: oklch(43.7% 0.146 8.1);
Tailwind
colors: {
  custom: {
    50: '#b56776',
    500: '#8f2142',
    950: '#000000',
  },
}
SCSS
$custom: #8f2142;
$custom-light: #b56776;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2142",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 342,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.146,
    "h": 8.1
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#8F2142
secondary
#51BB9B
accent
#E6B542
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F2142

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

Preview Lab → · Contrast checker → · Palette generator →

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