#8A2976#8A2976

#8A2976 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 337.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8A2976
RGBrgb(138, 41, 118)
HSLhsl(312, 54%, 35%)
HSVhsv(312, 70%, 54%)
CMYKcmyk(0%, 70.3%, 14.5%, 45.9%)
CIE-LABlab(34.60, 49.35, -22.47)
CIE-LCHlch(34.60, 54.22, 335.52°)
OKLaboklab(45.69% 0.1452 -0.061)
OKLCHoklch(45.69% 0.158 337.2)
XYZxyz(14.5444, 8.2984, 17.9718)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2976 #298A3D
analogous
#6D298A #8A2976 #8A2946
triadic
#8A2976 #768A29 #29768A
tetradic
#8A2976 #8A6D29 #298A3D #29468A
square
#8A2976 #8A6D29 #298A3D #29468A
split-complementary
#8A2976 #468A29 #298A6D
monochromatic
#2C0D25 #5B1B4E #8A2976 #B9379E #CF5EB8

Accessibility & contrast

On white

7.90
#8A2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2976
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2976#FFFFFF#000000##FFFFFF
##8A29761.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#4B5774
Tritanopia (blue-blind)
#912E4C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2976;
/* rgb */ color: rgb(138, 41, 118);
/* oklch */ color: oklch(45.7% 0.158 337.2);
Tailwind
colors: {
  custom: {
    50: '#af6b9d',
    500: '#8a2976',
    950: '#000000',
  },
}
SCSS
$custom: #8a2976;
$custom-light: #af6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2976",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 312.371,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45691,
    "c": 0.15752,
    "h": 337.2
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#8A2976
secondary
#5AB56D
accent
#DE694A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2976

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

Preview Lab → · Contrast checker → · Palette generator →

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