#8F377E#8F377E

#8F377E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.4% C 0.147 H 335.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8F377E
RGBrgb(143, 55, 126)
HSLhsl(312, 44%, 39%)
HSVhsv(312, 62%, 56%)
CMYKcmyk(0%, 61.5%, 11.9%, 43.9%)
CIE-LABlab(37.99, 46.00, -22.13)
CIE-LCHlch(37.99, 51.05, 334.31°)
OKLaboklab(48.45% 0.1341 -0.0601)
OKLCHoklch(48.45% 0.147 335.9)
XYZxyz(16.4599, 10.0797, 20.8133)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F377E #378F48
analogous
#74378F #8F377E #8F3752
triadic
#8F377E #7E8F37 #377E8F
tetradic
#8F377E #8F7437 #378F48 #37528F
square
#8F377E #8F7437 #378F48 #37528F
split-complementary
#8F377E #528F37 #378F74
monochromatic
#371530 #632657 #8F377E #B94AA4 #CA76BA

Accessibility & contrast

On white

6.96
#8F377E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F377E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F377E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F377E#FFFFFF#000000##FFFFFF
##8F377E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#963C55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f377e;
/* rgb */ color: rgb(143, 55, 126);
/* oklch */ color: oklch(48.4% 0.147 335.9);
Tailwind
colors: {
  custom: {
    50: '#b273a3',
    500: '#8f377e',
    950: '#000000',
  },
}
SCSS
$custom: #8f377e;
$custom-light: #b273a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f377e",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 311.591,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4845,
    "c": 0.14696,
    "h": 335.9
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#8F377E
secondary
#6FB37C
accent
#D46C54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F377E

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

Preview Lab → · Contrast checker → · Palette generator →

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