#8A2372#8A2372

#8A2372 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.162 H 339.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A2372
RGBrgb(138, 35, 114)
HSLhsl(314, 60%, 34%)
HSVhsv(314, 75%, 54%)
CMYKcmyk(0%, 74.6%, 17.4%, 45.9%)
CIE-LABlab(33.61, 50.98, -21.49)
CIE-LCHlch(33.61, 55.32, 337.15°)
OKLaboklab(44.91% 0.1514 -0.0582)
OKLCHoklch(44.91% 0.162 339)
XYZxyz(14.1199, 7.8216, 16.6824)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2372 #238A3B
analogous
#6F238A #8A2372 #8A233E
triadic
#8A2372 #728A23 #23728A
tetradic
#8A2372 #8A6F23 #238A3B #233E8A
square
#8A2372 #8A6F23 #238A3B #233E8A
split-complementary
#8A2372 #3E8A23 #238A6F
monochromatic
#280A21 #59174A #8A2372 #BB2F9A #D454B6

Accessibility & contrast

On white

8.19
#8A2372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2372
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2372#FFFFFF#000000##FFFFFF
##8A23721.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#922748
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2372;
/* rgb */ color: rgb(138, 35, 114);
/* oklch */ color: oklch(44.9% 0.162 339.0);
Tailwind
colors: {
  custom: {
    50: '#b0689a',
    500: '#8a2372',
    950: '#000000',
  },
}
SCSS
$custom: #8a2372;
$custom-light: #b0689a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2372",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 313.981,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.16216,
    "h": 339
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#8A2372
secondary
#51B769
accent
#E36A45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2372

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

Preview Lab → · Contrast checker → · Palette generator →

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