#8A225D#8A225D

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

Color values

HEX#8A225D
RGBrgb(138, 34, 93)
HSLhsl(326, 60%, 34%)
HSVhsv(326, 75%, 54%)
CMYKcmyk(0%, 75.4%, 32.6%, 45.9%)
CIE-LABlab(32.57, 48.47, -9.65)
CIE-LCHlch(32.57, 49.42, 348.74°)
OKLaboklab(43.85% 0.1482 -0.0251)
OKLCHoklch(43.85% 0.15 350.4)
XYZxyz(13.0298, 7.3391, 11.0842)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A225D #228A4F
analogous
#83228A #8A225D #8A2229
triadic
#8A225D #5D8A22 #225D8A
tetradic
#8A225D #8A8322 #228A4F #22298A
square
#8A225D #8A8322 #228A4F #22298A
split-complementary
#8A225D #298A22 #228A83
monochromatic
#280A1B #59163C #8A225D #BB2E7E #D4529C

Accessibility & contrast

On white

8.51
#8A225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A225D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A225D#FFFFFF#000000##FFFFFF
##8A225D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#51535B
Tritanopia (blue-blind)
#941B3C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a225d;
/* rgb */ color: rgb(138, 34, 93);
/* oklch */ color: oklch(43.9% 0.150 350.4);
Tailwind
colors: {
  custom: {
    50: '#b0678b',
    500: '#8a225d',
    950: '#000000',
  },
}
SCSS
$custom: #8a225d;
$custom-light: #b0678b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a225d",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 325.962,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.15027,
    "h": 350.4
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#8A225D
secondary
#50B87D
accent
#E48944
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A225D

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

Preview Lab → · Contrast checker → · Palette generator →

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