#8A2057#8A2057

#8A2057 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.150 H 353.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8A2057
RGBrgb(138, 32, 87)
HSLhsl(329, 62%, 33%)
HSVhsv(329, 77%, 54%)
CMYKcmyk(0%, 76.8%, 37%, 45.9%)
CIE-LABlab(32.09, 48.45, -6.47)
CIE-LCHlch(32.09, 48.88, 352.39°)
OKLaboklab(43.43% 0.1487 -0.0165)
OKLCHoklch(43.43% 0.15 353.7)
XYZxyz(12.7188, 7.1260, 9.7206)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2057 #208A53
analogous
#88208A #8A2057 #8A2022
triadic
#8A2057 #578A20 #20578A
tetradic
#8A2057 #8A8820 #208A53 #20228A
square
#8A2057 #8A8820 #208A53 #20228A
split-complementary
#8A2057 #228A20 #208A88
monochromatic
#270918 #581438 #8A2057 #BC2C76 #D64E95

Accessibility & contrast

On white

8.66
#8A2057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2057
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2057#FFFFFF#000000##FFFFFF
##8A20571.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343F58
Deuteranopia (green-blind)
#525255
Tritanopia (blue-blind)
#951538
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2057;
/* rgb */ color: rgb(138, 32, 87);
/* oklch */ color: oklch(43.4% 0.150 353.7);
Tailwind
colors: {
  custom: {
    50: '#b06686',
    500: '#8a2057',
    950: '#000000',
  },
}
SCSS
$custom: #8a2057;
$custom-light: #b06686;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2057",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 328.868,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.14956,
    "h": 353.7
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#8A2057
secondary
#4DB981
accent
#E59142
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A2057

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

Preview Lab → · Contrast checker → · Palette generator →

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