#8A2B74#8A2B74

#8A2B74 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.153 H 338.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8A2B74
RGBrgb(138, 43, 116)
HSLhsl(314, 52%, 35%)
HSVhsv(314, 69%, 54%)
CMYKcmyk(0%, 68.8%, 15.9%, 45.9%)
CIE-LABlab(34.79, 48.23, -20.92)
CIE-LCHlch(34.79, 52.57, 336.56°)
OKLaboklab(45.8% 0.1425 -0.0566)
OKLCHoklch(45.8% 0.153 338.3)
XYZxyz(14.4978, 8.3933, 17.3761)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B74 #2B8A41
analogous
#702B8A #8A2B74 #8A2B44
triadic
#8A2B74 #748A2B #2B748A
tetradic
#8A2B74 #8A702B #2B8A41 #2B448A
square
#8A2B74 #8A702B #2B8A41 #2B448A
split-complementary
#8A2B74 #448A2B #2B8A70
monochromatic
#2D0E26 #5B1C4D #8A2B74 #B93A9B #CE61B5

Accessibility & contrast

On white

7.84
#8A2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A2B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B74
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B74#FFFFFF#000000##FFFFFF
##8A2B741.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#4D5772
Tritanopia (blue-blind)
#922F4B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2b74;
/* rgb */ color: rgb(138, 43, 116);
/* oklch */ color: oklch(45.8% 0.153 338.3);
Tailwind
colors: {
  custom: {
    50: '#af6c9c',
    500: '#8a2b74',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b74;
$custom-light: #af6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b74",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 313.895,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.458,
    "c": 0.15335,
    "h": 338.3
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#8A2B74
secondary
#5DB471
accent
#DC6D4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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