#8A2257#8A2257

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

Color values

HEX#8A2257
RGBrgb(138, 34, 87)
HSLhsl(329, 60%, 34%)
HSVhsv(329, 75%, 54%)
CMYKcmyk(0%, 75.4%, 37%, 45.9%)
CIE-LABlab(32.34, 47.75, -6.10)
CIE-LCHlch(32.34, 48.14, 352.72°)
OKLaboklab(43.61% 0.1464 -0.0155)
OKLCHoklch(43.61% 0.147 353.9)
XYZxyz(12.7744, 7.2370, 9.7391)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2257 #228A55
analogous
#89228A #8A2257 #8A2223
triadic
#8A2257 #578A22 #22578A
tetradic
#8A2257 #8A8922 #228A55 #22238A
square
#8A2257 #8A8922 #228A55 #22238A
split-complementary
#8A2257 #238A22 #228A89
monochromatic
#280A19 #591638 #8A2257 #BB2E76 #D45294

Accessibility & contrast

On white

8.58
#8A2257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A2257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2257
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2257#FFFFFF#000000##FFFFFF
##8A22571.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354058
Deuteranopia (green-blind)
#525355
Tritanopia (blue-blind)
#951839
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2257;
/* rgb */ color: rgb(138, 34, 87);
/* oklch */ color: oklch(43.6% 0.147 353.9);
Tailwind
colors: {
  custom: {
    50: '#b06786',
    500: '#8a2257',
    950: '#000000',
  },
}
SCSS
$custom: #8a2257;
$custom-light: #b06786;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2257",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 329.423,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.14725,
    "h": 353.9
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#8A2257
secondary
#50B883
accent
#E49244
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2257

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

Preview Lab → · Contrast checker → · Palette generator →

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