#8A377C#8A377C

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

Color values

HEX#8A377C
RGBrgb(138, 55, 124)
HSLhsl(310, 43%, 38%)
HSVhsv(310, 60%, 54%)
CMYKcmyk(0%, 60.1%, 10.1%, 45.9%)
CIE-LABlab(37.10, 44.21, -22.33)
CIE-LCHlch(37.10, 49.52, 333.20°)
OKLaboklab(47.61% 0.1281 -0.0607)
OKLCHoklch(47.61% 0.142 334.6)
XYZxyz(15.4856, 9.5921, 20.1007)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A377C #378A45
analogous
#6E378A #8A377C #8A3753
triadic
#8A377C #7C8A37 #377C8A
tetradic
#8A377C #8A6E37 #378A45 #37538A
square
#8A377C #8A6E37 #378A45 #37538A
split-complementary
#8A377C #538A37 #378A6E
monochromatic
#32142D #5E2655 #8A377C #B648A3 #C874B9

Accessibility & contrast

On white

7.20
#8A377C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A377C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A377C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A377C#FFFFFF#000000##FFFFFF
##8A377C1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a377c;
/* rgb */ color: rgb(138, 55, 124);
/* oklch */ color: oklch(47.6% 0.142 334.6);
Tailwind
colors: {
  custom: {
    50: '#af73a2',
    500: '#8a377c',
    950: '#000000',
  },
}
SCSS
$custom: #8a377c;
$custom-light: #af73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a377c",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 124
  },
  "hsl": {
    "h": 310.12,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.14176,
    "h": 334.6
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#8A377C
secondary
#6DB078
accent
#D36A55
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A377C

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

Preview Lab → · Contrast checker → · Palette generator →

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