#8A2B58#8A2B58

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

Color values

HEX#8A2B58
RGBrgb(138, 43, 88)
HSLhsl(332, 52%, 35%)
HSVhsv(332, 69%, 54%)
CMYKcmyk(0%, 68.8%, 36.2%, 45.9%)
CIE-LABlab(33.64, 44.35, -4.81)
CIE-LCHlch(33.64, 44.61, 353.81°)
OKLaboklab(44.58% 0.1356 -0.0121)
OKLCHoklch(44.58% 0.136 354.9)
XYZxyz(13.1073, 7.8371, 10.0531)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B58 #2B8A5D
analogous
#8A2B87 #8A2B58 #8A2D2B
triadic
#8A2B58 #588A2B #2B588A
tetradic
#8A2B58 #878A2B #2B8A5D #2D2B8A
square
#8A2B58 #878A2B #2B8A5D #2D2B8A
split-complementary
#8A2B58 #2B8A2D #2B878A
monochromatic
#2D0E1C #5B1C3A #8A2B58 #B93A76 #CE6195

Accessibility & contrast

On white

8.18
#8A2B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B58
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B58#FFFFFF#000000##FFFFFF
##8A2B581.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#555656
Tritanopia (blue-blind)
#95233E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2b58;
/* rgb */ color: rgb(138, 43, 88);
/* oklch */ color: oklch(44.6% 0.136 354.9);
Tailwind
colors: {
  custom: {
    50: '#b06b87',
    500: '#8a2b58',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b58;
$custom-light: #b06b87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b58",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 331.579,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.13618,
    "h": 354.9
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#8A2B58
secondary
#5DB48B
accent
#DC984C
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2B58

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

Preview Lab → · Contrast checker → · Palette generator →

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