#8A2456#8A2456

#8A2456 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.144 H 354.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8A2456
RGBrgb(138, 36, 86)
HSLhsl(331, 59%, 34%)
HSVhsv(331, 74%, 54%)
CMYKcmyk(0%, 73.9%, 37.7%, 45.9%)
CIE-LABlab(32.57, 46.91, -5.11)
CIE-LCHlch(32.57, 47.18, 353.78°)
OKLaboklab(43.77% 0.1438 -0.0129)
OKLCHoklch(43.77% 0.144 354.9)
XYZxyz(12.7926, 7.3384, 9.5451)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2456 #248A58
analogous
#8A2489 #8A2456 #8A2524
triadic
#8A2456 #568A24 #24568A
tetradic
#8A2456 #898A24 #248A58 #25248A
square
#8A2456 #898A24 #248A58 #25248A
split-complementary
#8A2456 #248A25 #24898A
monochromatic
#290B1A #591738 #8A2456 #BB3174 #D35693

Accessibility & contrast

On white

8.51
#8A2456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A2456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2456
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2456#FFFFFF#000000##FFFFFF
##8A24561.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374157
Deuteranopia (green-blind)
#535354
Tritanopia (blue-blind)
#951A3A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2456;
/* rgb */ color: rgb(138, 36, 86);
/* oklch */ color: oklch(43.8% 0.144 354.9);
Tailwind
colors: {
  custom: {
    50: '#b06885',
    500: '#8a2456',
    950: '#000000',
  },
}
SCSS
$custom: #8a2456;
$custom-light: #b06885;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2456",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 330.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.14439,
    "h": 354.9
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#8A2456
secondary
#53B786
accent
#E29546
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2456

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

Preview Lab → · Contrast checker → · Palette generator →

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