#8A225F#8A225F

#8A225F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.151 H 349.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8A225F
RGBrgb(138, 34, 95)
HSLhsl(325, 60%, 34%)
HSVhsv(325, 75%, 54%)
CMYKcmyk(0%, 75.4%, 31.2%, 45.9%)
CIE-LABlab(32.65, 48.72, -10.82)
CIE-LCHlch(32.65, 49.91, 347.48°)
OKLaboklab(43.94% 0.1487 -0.0283)
OKLCHoklch(43.94% 0.151 349.2)
XYZxyz(13.1195, 7.3750, 11.5569)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A225F #228A4D
analogous
#81228A #8A225F #8A222B
triadic
#8A225F #5F8A22 #225F8A
tetradic
#8A225F #8A8122 #228A4D #222B8A
square
#8A225F #8A8122 #228A4D #222B8A
split-complementary
#8A225F #2B8A22 #228A81
monochromatic
#280A1B #59163D #8A225F #BB2E81 #D4529E

Accessibility & contrast

On white

8.49
#8A225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A225F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A225F#FFFFFF#000000##FFFFFF
##8A225F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#50535D
Tritanopia (blue-blind)
#941C3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a225f;
/* rgb */ color: rgb(138, 34, 95);
/* oklch */ color: oklch(43.9% 0.151 349.2);
Tailwind
colors: {
  custom: {
    50: '#b0678c',
    500: '#8a225f',
    950: '#000000',
  },
}
SCSS
$custom: #8a225f;
$custom-light: #b0678c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a225f",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 324.808,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.15135,
    "h": 349.2
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#8A225F
secondary
#50B87B
accent
#E48644
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A225F

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

Preview Lab → · Contrast checker → · Palette generator →

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