#8A2157#8A2157

#8A2157 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.148 H 353.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8A2157
RGBrgb(138, 33, 87)
HSLhsl(329, 61%, 34%)
HSVhsv(329, 76%, 54%)
CMYKcmyk(0%, 76.1%, 37%, 45.9%)
CIE-LABlab(32.21, 48.11, -6.29)
CIE-LCHlch(32.21, 48.52, 352.55°)
OKLaboklab(43.52% 0.1475 -0.016)
OKLCHoklch(43.52% 0.148 353.8)
XYZxyz(12.7462, 7.1806, 9.7298)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2157 #218A54
analogous
#88218A #8A2157 #8A2122
triadic
#8A2157 #578A21 #21578A
tetradic
#8A2157 #8A8821 #218A54 #21228A
square
#8A2157 #8A8821 #218A54 #21228A
split-complementary
#8A2157 #228A21 #218A88
monochromatic
#270919 #591538 #8A2157 #BB2D76 #D55095

Accessibility & contrast

On white

8.62
#8A2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2157
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2157#FFFFFF#000000##FFFFFF
##8A21571.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2157;
/* rgb */ color: rgb(138, 33, 87);
/* oklch */ color: oklch(43.5% 0.148 353.8);
Tailwind
colors: {
  custom: {
    50: '#b06786',
    500: '#8a2157',
    950: '#000000',
  },
}
SCSS
$custom: #8a2157;
$custom-light: #b06786;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2157",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 329.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.14842,
    "h": 353.8
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#8A2157
secondary
#4EB982
accent
#E59243
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A2157

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

Preview Lab → · Contrast checker → · Palette generator →

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