#8F2A4F#8F2A4F

#8F2A4F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.139 H 2.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8F2A4F
RGBrgb(143, 42, 79)
HSLhsl(338, 55%, 36%)
HSVhsv(338, 71%, 56%)
CMYKcmyk(0%, 70.6%, 44.8%, 43.9%)
CIE-LABlab(34.11, 45.32, 1.81)
CIE-LCHlch(34.11, 45.35, 2.29°)
OKLaboklab(45.01% 0.1387 0.0052)
OKLCHoklch(45.01% 0.139 2.1)
XYZxyz(13.5679, 8.0618, 8.2372)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A4F #2A8F6A
analogous
#8F2A82 #8F2A4F #8F382A
triadic
#8F2A4F #4F8F2A #2A4F8F
tetradic
#8F2A4F #828F2A #2A8F6A #382A8F
square
#8F2A4F #828F2A #2A8F6A #382A8F
split-complementary
#8F2A4F #2A8F38 #2A828F
monochromatic
#300E1B #601C35 #8F2A4F #BE3869 #D1628B

Accessibility & contrast

On white

8.04
#8F2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2A4F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A4F#FFFFFF#000000##FFFFFF
##8F2A4F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#5A574D
Tritanopia (blue-blind)
#9B1C39
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2a4f;
/* rgb */ color: rgb(143, 42, 79);
/* oklch */ color: oklch(45.0% 0.139 2.1);
Tailwind
colors: {
  custom: {
    50: '#b46b80',
    500: '#8f2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a4f;
$custom-light: #b46b80;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a4f",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 338.02,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.13879,
    "h": 2.1
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#8F2A4F
secondary
#5EB796
accent
#DEA84A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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