#8A2472#8A2472

#8A2472 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.161 H 339.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8A2472
RGBrgb(138, 36, 114)
HSLhsl(314, 59%, 34%)
HSVhsv(314, 74%, 54%)
CMYKcmyk(0%, 73.9%, 17.4%, 45.9%)
CIE-LABlab(33.73, 50.62, -21.29)
CIE-LCHlch(33.73, 54.92, 337.19°)
OKLaboklab(45% 0.1503 -0.0576)
OKLCHoklch(45% 0.161 339)
XYZxyz(14.1497, 7.8813, 16.6924)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2472 #248A3C
analogous
#6F248A #8A2472 #8A243F
triadic
#8A2472 #728A24 #24728A
tetradic
#8A2472 #8A6F24 #248A3C #243F8A
square
#8A2472 #8A6F24 #248A3C #243F8A
split-complementary
#8A2472 #3F8A24 #248A6F
monochromatic
#290B22 #59174A #8A2472 #BB319A #D356B5

Accessibility & contrast

On white

8.15
#8A2472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2472
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2472#FFFFFF#000000##FFFFFF
##8A24721.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#922848
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2472;
/* rgb */ color: rgb(138, 36, 114);
/* oklch */ color: oklch(45.0% 0.161 339.0);
Tailwind
colors: {
  custom: {
    50: '#b0699a',
    500: '#8a2472',
    950: '#000000',
  },
}
SCSS
$custom: #8a2472;
$custom-light: #b0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2472",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 314.118,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45003,
    "c": 0.16096,
    "h": 339
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#8A2472
secondary
#53B76A
accent
#E26B46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2472

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

Preview Lab → · Contrast checker → · Palette generator →

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