#8A2252#8A2252

#8A2252 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.145 H 357.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8A2252
RGBrgb(138, 34, 82)
HSLhsl(332, 60%, 34%)
HSVhsv(332, 75%, 54%)
CMYKcmyk(0%, 75.4%, 40.6%, 45.9%)
CIE-LABlab(32.16, 47.19, -3.10)
CIE-LCHlch(32.16, 47.29, 356.24°)
OKLaboklab(43.43% 0.1449 -0.0076)
OKLCHoklch(43.43% 0.145 357)
XYZxyz(12.5771, 7.1581, 8.7003)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2252 #228A5A
analogous
#8A2286 #8A2252 #8A2622
triadic
#8A2252 #528A22 #22528A
tetradic
#8A2252 #868A22 #228A5A #26228A
square
#8A2252 #868A22 #228A5A #26228A
split-complementary
#8A2252 #228A26 #22868A
monochromatic
#280A18 #591635 #8A2252 #BB2E6F #D4528E

Accessibility & contrast

On white

8.64
#8A2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2252
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2252#FFFFFF#000000##FFFFFF
##8A22521.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#545350
Tritanopia (blue-blind)
#961537
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2252;
/* rgb */ color: rgb(138, 34, 82);
/* oklch */ color: oklch(43.4% 0.145 357.0);
Tailwind
colors: {
  custom: {
    50: '#b16782',
    500: '#8a2252',
    950: '#000000',
  },
}
SCSS
$custom: #8a2252;
$custom-light: #b16782;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2252",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 332.308,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43427,
    "c": 0.14505,
    "h": 357
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#8A2252
secondary
#50B888
accent
#E49A44
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A2252

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

Preview Lab → · Contrast checker → · Palette generator →

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