#8F2371#8F2371

#8F2371 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.165 H 341.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F2371
RGBrgb(143, 35, 113)
HSLhsl(317, 61%, 35%)
HSVhsv(317, 76%, 56%)
CMYKcmyk(0%, 75.5%, 21%, 43.9%)
CIE-LABlab(34.47, 52.12, -19.45)
CIE-LCHlch(34.47, 55.63, 339.54°)
OKLaboklab(45.69% 0.1562 -0.0523)
OKLCHoklch(45.69% 0.165 341.5)
XYZxyz(14.9098, 8.2355, 16.4240)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2371 #238F41
analogous
#77238F #8F2371 #8F233B
triadic
#8F2371 #718F23 #23718F
tetradic
#8F2371 #8F7723 #238F41 #233B8F
square
#8F2371 #8F7723 #238F41 #233B8F
split-complementary
#8F2371 #3B8F23 #238F77
monochromatic
#2D0B23 #5E174A #8F2371 #C02F98 #D657B2

Accessibility & contrast

On white

7.93
#8F2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F2371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2371
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2371#FFFFFF#000000##FFFFFF
##8F23711.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4F576F
Tritanopia (blue-blind)
#982547
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2371;
/* rgb */ color: rgb(143, 35, 113);
/* oklch */ color: oklch(45.7% 0.165 341.5);
Tailwind
colors: {
  custom: {
    50: '#b3699a',
    500: '#8f2371',
    950: '#000000',
  },
}
SCSS
$custom: #8f2371;
$custom-light: #b3699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2371",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 316.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.16475,
    "h": 341.5
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#8F2371
secondary
#54BA70
accent
#E47044
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2371

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

Preview Lab → · Contrast checker → · Palette generator →

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