#8A2256#8A2256

#8A2256 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.147 H 354.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8A2256
RGBrgb(138, 34, 86)
HSLhsl(330, 60%, 34%)
HSVhsv(330, 75%, 54%)
CMYKcmyk(0%, 75.4%, 37.7%, 45.9%)
CIE-LABlab(32.30, 47.64, -5.50)
CIE-LCHlch(32.30, 47.95, 353.41°)
OKLaboklab(43.58% 0.1461 -0.0139)
OKLCHoklch(43.58% 0.147 354.6)
XYZxyz(12.7338, 7.2208, 9.5255)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2256 #228A56
analogous
#8A228A #8A2256 #8A2222
triadic
#8A2256 #568A22 #22568A
tetradic
#8A2256 #8A8A22 #228A56 #22228A
square
#8A2256 #8A8A22 #228A56 #22228A
split-complementary
#8A2256 #228A22 #228A8A
monochromatic
#280A19 #591637 #8A2256 #BB2E75 #D45293

Accessibility & contrast

On white

8.59
#8A2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2256
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2256#FFFFFF#000000##FFFFFF
##8A22561.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364057
Deuteranopia (green-blind)
#535354
Tritanopia (blue-blind)
#951739
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2256;
/* rgb */ color: rgb(138, 34, 86);
/* oklch */ color: oklch(43.6% 0.147 354.6);
Tailwind
colors: {
  custom: {
    50: '#b06785',
    500: '#8a2256',
    950: '#000000',
  },
}
SCSS
$custom: #8a2256;
$custom-light: #b06785;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2256",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 330,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.14679,
    "h": 354.6
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#8A2256
secondary
#50B884
accent
#E49444
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A2256

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

Preview Lab → · Contrast checker → · Palette generator →

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