#8F2A4E#8F2A4E

#8F2A4E is a dark, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.138 H 2.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8F2A4E
RGBrgb(143, 42, 78)
HSLhsl(339, 55%, 36%)
HSVhsv(339, 71%, 56%)
CMYKcmyk(0%, 70.6%, 45.5%, 43.9%)
CIE-LABlab(34.08, 45.21, 2.42)
CIE-LCHlch(34.08, 45.28, 3.06°)
OKLaboklab(44.97% 0.1383 0.0067)
OKLCHoklch(44.97% 0.138 2.8)
XYZxyz(13.5318, 8.0473, 8.0470)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A4E #2A8F6B
analogous
#8F2A81 #8F2A4E #8F392A
triadic
#8F2A4E #4E8F2A #2A4E8F
tetradic
#8F2A4E #818F2A #2A8F6B #392A8F
square
#8F2A4E #818F2A #2A8F6B #392A8F
split-complementary
#8F2A4E #2A8F39 #2A818F
monochromatic
#300E1A #601C34 #8F2A4E #BE3868 #D1628A

Accessibility & contrast

On white

8.05
#8F2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A4E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A4E#FFFFFF#000000##FFFFFF
##8F2A4E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#5B574C
Tritanopia (blue-blind)
#9B1B39
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2a4e;
/* rgb */ color: rgb(143, 42, 78);
/* oklch */ color: oklch(45.0% 0.138 2.8);
Tailwind
colors: {
  custom: {
    50: '#b46b7f',
    500: '#8f2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a4e;
$custom-light: #b46b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a4e",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 338.614,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44974,
    "c": 0.13848,
    "h": 2.8
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#8F2A4E
secondary
#5EB797
accent
#DEA94A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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