#8F1B48#8F1B48

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

Color values

HEX#8F1B48
RGBrgb(143, 27, 72)
HSLhsl(337, 68%, 33%)
HSVhsv(337, 81%, 56%)
CMYKcmyk(0%, 81.1%, 49.7%, 43.9%)
CIE-LABlab(32.02, 49.91, 3.36)
CIE-LCHlch(32.02, 50.03, 3.85°)
OKLaboklab(43.4% 0.153 0.0091)
OKLCHoklch(43.4% 0.153 3.4)
XYZxyz(12.8904, 7.0932, 6.8200)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B48 #1B8F62
analogous
#8F1B82 #8F1B48 #8F281B
triadic
#8F1B48 #488F1B #1B488F
tetradic
#8F1B48 #828F1B #1B8F62 #281B8F
square
#8F1B48 #828F1B #1B8F62 #281B8F
split-complementary
#8F1B48 #1B8F28 #1B828F
monochromatic
#280814 #5C112E #8F1B48 #C22562 #DC4882

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1B48#FFFFFF#000000##FFFFFF
##8F1B481.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)
#383D49
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1b48;
/* rgb */ color: rgb(143, 27, 72);
/* oklch */ color: oklch(43.4% 0.153 3.4);
Tailwind
colors: {
  custom: {
    50: '#b5657a',
    500: '#8f1b48',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b48;
$custom-light: #b5657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b48",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 336.724,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.15329,
    "h": 3.4
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#8F1B48
secondary
#48BE90
accent
#EBA73D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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