#8A2B56#8A2B56

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

Color values

HEX#8A2B56
RGBrgb(138, 43, 86)
HSLhsl(333, 52%, 35%)
HSVhsv(333, 69%, 54%)
CMYKcmyk(0%, 68.8%, 37.7%, 45.9%)
CIE-LABlab(33.57, 44.11, -3.62)
CIE-LCHlch(33.57, 44.26, 355.31°)
OKLaboklab(44.51% 0.135 -0.009)
OKLCHoklch(44.51% 0.135 356.2)
XYZxyz(13.0256, 7.8044, 9.6227)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B56 #2B8A5F
analogous
#8A2B85 #8A2B56 #8A2F2B
triadic
#8A2B56 #568A2B #2B568A
tetradic
#8A2B56 #858A2B #2B8A5F #2F2B8A
square
#8A2B56 #858A2B #2B8A5F #2F2B8A
split-complementary
#8A2B56 #2B8A2F #2B858A
monochromatic
#2D0E1C #5B1C39 #8A2B56 #B93A73 #CE6193

Accessibility & contrast

On white

8.20
#8A2B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2B56
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B56#FFFFFF#000000##FFFFFF
##8A2B561.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4457
Deuteranopia (green-blind)
#565554
Tritanopia (blue-blind)
#95223D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2b56;
/* rgb */ color: rgb(138, 43, 86);
/* oklch */ color: oklch(44.5% 0.135 356.2);
Tailwind
colors: {
  custom: {
    50: '#b06b85',
    500: '#8a2b56',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b56;
$custom-light: #b06b85;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b56",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 332.842,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44509,
    "c": 0.13529,
    "h": 356.2
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#8A2B56
secondary
#5DB48D
accent
#DC9B4C
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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