#8F1B72#8F1B72

#8F1B72 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.174 H 340.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8F1B72
RGBrgb(143, 27, 114)
HSLhsl(315, 68%, 33%)
HSVhsv(315, 81%, 56%)
CMYKcmyk(0%, 81.1%, 20.3%, 43.9%)
CIE-LABlab(33.65, 54.74, -21.36)
CIE-LCHlch(33.65, 58.76, 338.69°)
OKLaboklab(45.11% 0.1639 -0.0576)
OKLCHoklch(45.11% 0.174 340.6)
XYZxyz(14.7574, 7.8399, 16.6524)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B72 #1B8F38
analogous
#721B8F #8F1B72 #8F1B38
triadic
#8F1B72 #728F1B #1B728F
tetradic
#8F1B72 #8F721B #1B8F38 #1B388F
square
#8F1B72 #8F721B #1B8F38 #1B388F
split-complementary
#8F1B72 #388F1B #1B8F72
monochromatic
#280820 #5C1149 #8F1B72 #C2259B #DC48B7

Accessibility & contrast

On white

8.18
#8F1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F1B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B72
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B72#FFFFFF#000000##FFFFFF
##8F1B721.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#981F45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1b72;
/* rgb */ color: rgb(143, 27, 114);
/* oklch */ color: oklch(45.1% 0.174 340.6);
Tailwind
colors: {
  custom: {
    50: '#b4669a',
    500: '#8f1b72',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b72;
$custom-light: #b4669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b72",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 315,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.17378,
    "h": 340.6
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#8F1B72
secondary
#48BE65
accent
#EB683D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1B72

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

Preview Lab → · Contrast checker → · Palette generator →

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