#8A377B#8A377B

#8A377B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.6% C 0.141 H 335.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A377B
RGBrgb(138, 55, 123)
HSLhsl(311, 43%, 38%)
HSVhsv(311, 60%, 54%)
CMYKcmyk(0%, 60.1%, 10.9%, 45.9%)
CIE-LABlab(37.05, 44.04, -21.78)
CIE-LCHlch(37.05, 49.13, 333.68°)
OKLaboklab(47.56% 0.1279 -0.0592)
OKLCHoklch(47.56% 0.141 335.2)
XYZxyz(15.4227, 9.5669, 19.7693)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A377B #378A46
analogous
#6F378A #8A377B #8A3752
triadic
#8A377B #7B8A37 #377B8A
tetradic
#8A377B #8A6F37 #378A46 #37528A
square
#8A377B #8A6F37 #378A46 #37528A
split-complementary
#8A377B #528A37 #378A6F
monochromatic
#32142D #5E2654 #8A377B #B648A2 #C874B8

Accessibility & contrast

On white

7.21
#8A377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A377B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A377B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A377B#FFFFFF#000000##FFFFFF
##8A377B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#505C79
Tritanopia (blue-blind)
#903C54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a377b;
/* rgb */ color: rgb(138, 55, 123);
/* oklch */ color: oklch(47.6% 0.141 335.2);
Tailwind
colors: {
  custom: {
    50: '#af73a1',
    500: '#8a377b',
    950: '#000000',
  },
}
SCSS
$custom: #8a377b;
$custom-light: #af73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a377b",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 310.843,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.14093,
    "h": 335.2
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#8A377B
secondary
#6DB079
accent
#D36C55
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8A377B

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

Preview Lab → · Contrast checker → · Palette generator →

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