#8F1B47#8F1B47

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

Color values

HEX#8F1B47
RGBrgb(143, 27, 71)
HSLhsl(337, 68%, 33%)
HSVhsv(337, 81%, 56%)
CMYKcmyk(0%, 81.1%, 50.3%, 43.9%)
CIE-LABlab(31.99, 49.83, 3.98)
CIE-LCHlch(31.99, 49.98, 4.57°)
OKLaboklab(43.36% 0.1526 0.0107)
OKLCHoklch(43.36% 0.153 4)
XYZxyz(12.8581, 7.0802, 6.6496)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B47 #1B8F63
analogous
#8F1B81 #8F1B47 #8F291B
triadic
#8F1B47 #478F1B #1B478F
tetradic
#8F1B47 #818F1B #1B8F63 #291B8F
square
#8F1B47 #818F1B #1B8F63 #291B8F
split-complementary
#8F1B47 #1B8F29 #1B818F
monochromatic
#280814 #5C112D #8F1B47 #C22561 #DC4880

Accessibility & contrast

On white

8.69
#8F1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1B47
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B47#FFFFFF#000000##FFFFFF
##8F1B471.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1b47;
/* rgb */ color: rgb(143, 27, 71);
/* oklch */ color: oklch(43.4% 0.153 4.0);
Tailwind
colors: {
  custom: {
    50: '#b5657a',
    500: '#8f1b47',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b47;
$custom-light: #b5657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b47",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 337.241,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.15301,
    "h": 4
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#8F1B47
secondary
#48BE91
accent
#EBA93D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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