#8A2B57#8A2B57

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

Color values

HEX#8A2B57
RGBrgb(138, 43, 87)
HSLhsl(332, 52%, 35%)
HSVhsv(332, 69%, 54%)
CMYKcmyk(0%, 68.8%, 37%, 45.9%)
CIE-LABlab(33.61, 44.23, -4.21)
CIE-LCHlch(33.61, 44.43, 354.56°)
OKLaboklab(44.55% 0.1353 -0.0105)
OKLCHoklch(44.55% 0.136 355.5)
XYZxyz(13.0662, 7.8206, 9.8364)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B57 #2B8A5E
analogous
#8A2B86 #8A2B57 #8A2F2B
triadic
#8A2B57 #578A2B #2B578A
tetradic
#8A2B57 #868A2B #2B8A5E #2F2B8A
square
#8A2B57 #868A2B #2B8A5E #2F2B8A
split-complementary
#8A2B57 #2B8A2F #2B868A
monochromatic
#2D0E1C #5B1C3A #8A2B57 #B93A74 #CE6194

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2B57#FFFFFF#000000##FFFFFF
##8A2B571.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)
#3C4458
Deuteranopia (green-blind)
#565655
Tritanopia (blue-blind)
#95233D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2b57;
/* rgb */ color: rgb(138, 43, 87);
/* oklch */ color: oklch(44.5% 0.136 355.5);
Tailwind
colors: {
  custom: {
    50: '#b06b86',
    500: '#8a2b57',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b57;
$custom-light: #b06b86;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b57",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 332.211,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44546,
    "c": 0.13573,
    "h": 355.5
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#8A2B57
secondary
#5DB48C
accent
#DC994C
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2B57

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

Preview Lab → · Contrast checker → · Palette generator →

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