#8A2074#8A2074

#8A2074 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.167 H 337.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8A2074
RGBrgb(138, 32, 116)
HSLhsl(312, 62%, 33%)
HSVhsv(312, 77%, 54%)
CMYKcmyk(0%, 76.8%, 15.9%, 45.9%)
CIE-LABlab(33.35, 52.30, -23.16)
CIE-LCHlch(33.35, 57.20, 336.11°)
OKLaboklab(44.76% 0.1547 -0.0629)
OKLCHoklch(44.76% 0.167 337.9)
XYZxyz(14.1504, 7.6986, 17.2603)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2074 #208A36
analogous
#6B208A #8A2074 #8A203F
triadic
#8A2074 #748A20 #20748A
tetradic
#8A2074 #8A6B20 #208A36 #203F8A
square
#8A2074 #8A6B20 #208A36 #203F8A
split-complementary
#8A2074 #3F8A20 #208A6B
monochromatic
#270920 #58144A #8A2074 #BC2C9E #D64EBA

Accessibility & contrast

On white

8.27
#8A2074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A2074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2074
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2074#FFFFFF#000000##FFFFFF
##8A20741.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#495472
Tritanopia (blue-blind)
#922648
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2074;
/* rgb */ color: rgb(138, 32, 116);
/* oklch */ color: oklch(44.8% 0.167 337.9);
Tailwind
colors: {
  custom: {
    50: '#b0679c',
    500: '#8a2074',
    950: '#000000',
  },
}
SCSS
$custom: #8a2074;
$custom-light: #b0679c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2074",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 312.453,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.167,
    "h": 337.9
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#8A2074
secondary
#4DB963
accent
#E56442
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2074

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

Preview Lab → · Contrast checker → · Palette generator →

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