#8B225E#8B225E

#8B225E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.152 H 350.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8B225E
RGBrgb(139, 34, 94)
HSLhsl(326, 61%, 34%)
HSVhsv(326, 76%, 55%)
CMYKcmyk(0%, 75.5%, 32.4%, 45.5%)
CIE-LABlab(32.79, 48.88, -9.93)
CIE-LCHlch(32.79, 49.87, 348.51°)
OKLaboklab(44.07% 0.1494 -0.0259)
OKLCHoklch(44.07% 0.152 350.2)
XYZxyz(13.2406, 7.4427, 11.3268)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B225E #228B4F
analogous
#84228B #8B225E #8B222A
triadic
#8B225E #5E8B22 #225E8B
tetradic
#8B225E #8B8422 #228B4F #222A8B
square
#8B225E #8B8422 #228B4F #222A8B
split-complementary
#8B225E #2A8B22 #228B84
monochromatic
#290A1B #5A163D #8B225E #BC2E7F #D5539D

Accessibility & contrast

On white

8.44
#8B225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8B225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B225E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B225E#FFFFFF#000000##FFFFFF
##8B225E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334160
Deuteranopia (green-blind)
#51545C
Tritanopia (blue-blind)
#961B3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b225e;
/* rgb */ color: rgb(139, 34, 94);
/* oklch */ color: oklch(44.1% 0.152 350.2);
Tailwind
colors: {
  custom: {
    50: '#b1678b',
    500: '#8b225e',
    950: '#000000',
  },
}
SCSS
$custom: #8b225e;
$custom-light: #b1678b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b225e",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 325.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44068,
    "c": 0.15159,
    "h": 350.2
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#8B225E
secondary
#50B87D
accent
#E48844
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8B225E

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

Preview Lab → · Contrast checker → · Palette generator →

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