#8A2151#8A2151

#8A2151 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.146 H 357.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8A2151
RGBrgb(138, 33, 81)
HSLhsl(333, 61%, 34%)
HSVhsv(333, 76%, 54%)
CMYKcmyk(0%, 76.1%, 41.3%, 45.9%)
CIE-LABlab(32.00, 47.43, -2.69)
CIE-LCHlch(32.00, 47.51, 356.76°)
OKLaboklab(43.3% 0.1457 -0.0065)
OKLCHoklch(43.3% 0.146 357.5)
XYZxyz(12.5112, 7.0866, 8.4920)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2151 #218A5A
analogous
#8A2185 #8A2151 #8A2521
triadic
#8A2151 #518A21 #21518A
tetradic
#8A2151 #858A21 #218A5A #25218A
square
#8A2151 #858A21 #218A5A #25218A
split-complementary
#8A2151 #218A25 #21858A
monochromatic
#270917 #591534 #8A2151 #BB2D6E #D5508D

Accessibility & contrast

On white

8.69
#8A2151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A2151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2151
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2151#FFFFFF#000000##FFFFFF
##8A21511.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F52
Deuteranopia (green-blind)
#54524F
Tritanopia (blue-blind)
#961336
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2151;
/* rgb */ color: rgb(138, 33, 81);
/* oklch */ color: oklch(43.3% 0.146 357.5);
Tailwind
colors: {
  custom: {
    50: '#b16681',
    500: '#8a2151',
    950: '#000000',
  },
}
SCSS
$custom: #8a2151;
$custom-light: #b16681;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2151",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 332.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43298,
    "c": 0.14579,
    "h": 357.5
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#8A2151
secondary
#4EB988
accent
#E59B43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A2151

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

Preview Lab → · Contrast checker → · Palette generator →

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