#8A2973#8A2973

#8A2973 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.155 H 338.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A2973
RGBrgb(138, 41, 115)
HSLhsl(314, 54%, 35%)
HSVhsv(314, 70%, 54%)
CMYKcmyk(0%, 70.3%, 16.7%, 45.9%)
CIE-LABlab(34.45, 48.88, -20.81)
CIE-LCHlch(34.45, 53.13, 336.94°)
OKLaboklab(45.54% 0.1448 -0.0563)
OKLCHoklch(45.54% 0.155 338.8)
XYZxyz(14.3690, 8.2283, 17.0478)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2973 #298A40
analogous
#71298A #8A2973 #8A2942
triadic
#8A2973 #738A29 #29738A
tetradic
#8A2973 #8A7129 #298A40 #29428A
square
#8A2973 #8A7129 #298A40 #29428A
split-complementary
#8A2973 #428A29 #298A71
monochromatic
#2C0D24 #5B1B4C #8A2973 #B9379A #CF5EB4

Accessibility & contrast

On white

7.94
#8A2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2973
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2973#FFFFFF#000000##FFFFFF
##8A29731.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4775
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#922D4A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2973;
/* rgb */ color: rgb(138, 41, 115);
/* oklch */ color: oklch(45.5% 0.155 338.8);
Tailwind
colors: {
  custom: {
    50: '#af6b9b',
    500: '#8a2973',
    950: '#000000',
  },
}
SCSS
$custom: #8a2973;
$custom-light: #af6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2973",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 314.227,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.15532,
    "h": 338.8
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#8A2973
secondary
#5AB570
accent
#DE6D4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2973

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

Preview Lab → · Contrast checker → · Palette generator →

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