#8A225C#8A225C

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

Color values

HEX#8A225C
RGBrgb(138, 34, 92)
HSLhsl(327, 60%, 34%)
HSVhsv(327, 75%, 54%)
CMYKcmyk(0%, 75.4%, 33.3%, 45.9%)
CIE-LABlab(32.53, 48.35, -9.06)
CIE-LCHlch(32.53, 49.19, 349.39°)
OKLaboklab(43.81% 0.1479 -0.0235)
OKLCHoklch(43.81% 0.15 351)
XYZxyz(12.9858, 7.3215, 10.8525)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A225C #228A50
analogous
#84228A #8A225C #8A2228
triadic
#8A225C #5C8A22 #225C8A
tetradic
#8A225C #8A8422 #228A50 #22288A
square
#8A225C #8A8422 #228A50 #22288A
split-complementary
#8A225C #288A22 #228A84
monochromatic
#280A1B #59163B #8A225C #BB2E7D #D4529B

Accessibility & contrast

On white

8.52
#8A225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A225C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A225C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A225C#FFFFFF#000000##FFFFFF
##8A225C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415E
Deuteranopia (green-blind)
#51535A
Tritanopia (blue-blind)
#951B3C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a225c;
/* rgb */ color: rgb(138, 34, 92);
/* oklch */ color: oklch(43.8% 0.150 351.0);
Tailwind
colors: {
  custom: {
    50: '#b0678a',
    500: '#8a225c',
    950: '#000000',
  },
}
SCSS
$custom: #8a225c;
$custom-light: #b0678a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a225c",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 326.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43813,
    "c": 0.14974,
    "h": 351
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#8A225C
secondary
#50B87E
accent
#E48B44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A225C

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

Preview Lab → · Contrast checker → · Palette generator →

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