#8A225B#8A225B

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

Color values

HEX#8A225B
RGBrgb(138, 34, 91)
HSLhsl(327, 60%, 34%)
HSVhsv(327, 75%, 54%)
CMYKcmyk(0%, 75.4%, 34.1%, 45.9%)
CIE-LABlab(32.49, 48.23, -8.47)
CIE-LCHlch(32.49, 48.96, 350.04°)
OKLaboklab(43.77% 0.1476 -0.0219)
OKLCHoklch(43.77% 0.149 351.6)
XYZxyz(12.9423, 7.3042, 10.6238)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A225B #228A51
analogous
#85228A #8A225B #8A2227
triadic
#8A225B #5B8A22 #225B8A
tetradic
#8A225B #8A8522 #228A51 #22278A
square
#8A225B #8A8522 #228A51 #22278A
split-complementary
#8A225B #278A22 #228A85
monochromatic
#280A1A #59163B #8A225B #BB2E7B #D45299

Accessibility & contrast

On white

8.53
#8A225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A225B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A225B#FFFFFF#000000##FFFFFF
##8A225B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405D
Deuteranopia (green-blind)
#515359
Tritanopia (blue-blind)
#951A3B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a225b;
/* rgb */ color: rgb(138, 34, 91);
/* oklch */ color: oklch(43.8% 0.149 351.6);
Tailwind
colors: {
  custom: {
    50: '#b06789',
    500: '#8a225b',
    950: '#000000',
  },
}
SCSS
$custom: #8a225b;
$custom-light: #b06789;
$custom-dark: #000000;
JSON
{
  "hex": "#8a225b",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 327.115,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43773,
    "c": 0.14922,
    "h": 351.6
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#8A225B
secondary
#50B87F
accent
#E48C44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A225B

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

Preview Lab → · Contrast checker → · Palette generator →

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