#8A2255#8A2255

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

Color values

HEX#8A2255
RGBrgb(138, 34, 85)
HSLhsl(331, 60%, 34%)
HSVhsv(331, 75%, 54%)
CMYKcmyk(0%, 75.4%, 38.4%, 45.9%)
CIE-LABlab(32.27, 47.52, -4.90)
CIE-LCHlch(32.27, 47.77, 354.11°)
OKLaboklab(43.54% 0.1458 -0.0123)
OKLCHoklch(43.54% 0.146 355.2)
XYZxyz(12.6938, 7.2048, 9.3148)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2255 #228A57
analogous
#8A2289 #8A2255 #8A2322
triadic
#8A2255 #558A22 #22558A
tetradic
#8A2255 #898A22 #228A57 #23228A
square
#8A2255 #898A22 #228A57 #23228A
split-complementary
#8A2255 #228A23 #22898A
monochromatic
#280A19 #591637 #8A2255 #BB2E73 #D45292

Accessibility & contrast

On white

8.60
#8A2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2255
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2255#FFFFFF#000000##FFFFFF
##8A22551.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364056
Deuteranopia (green-blind)
#535353
Tritanopia (blue-blind)
#951738
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2255;
/* rgb */ color: rgb(138, 34, 85);
/* oklch */ color: oklch(43.5% 0.146 355.2);
Tailwind
colors: {
  custom: {
    50: '#b06784',
    500: '#8a2255',
    950: '#000000',
  },
}
SCSS
$custom: #8a2255;
$custom-light: #b06784;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2255",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 330.577,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.14633,
    "h": 355.2
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#8A2255
secondary
#50B885
accent
#E49544
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A2255

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

Preview Lab → · Contrast checker → · Palette generator →

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