#8A224D#8A224D

#8A224D is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.143 H 0.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8A224D
RGBrgb(138, 34, 77)
HSLhsl(335, 60%, 34%)
HSVhsv(335, 75%, 54%)
CMYKcmyk(0%, 75.4%, 44.2%, 45.9%)
CIE-LABlab(32.00, 46.65, -0.07)
CIE-LCHlch(32.00, 46.65, 359.91°)
OKLaboklab(43.25% 0.1431 0.0003)
OKLCHoklch(43.25% 0.143 0.1)
XYZxyz(12.3937, 7.0847, 7.7346)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A224D #228A5F
analogous
#8A2281 #8A224D #8A2B22
triadic
#8A224D #4D8A22 #224D8A
tetradic
#8A224D #818A22 #228A5F #2B228A
square
#8A224D #818A22 #228A5F #2B228A
split-complementary
#8A224D #228A2B #22818A
monochromatic
#280A16 #591632 #8A224D #BB2E68 #D45288

Accessibility & contrast

On white

8.69
#8A224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A224D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A224D#FFFFFF#000000##FFFFFF
##8A224D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4E
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#961234
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a224d;
/* rgb */ color: rgb(138, 34, 77);
/* oklch */ color: oklch(43.3% 0.143 0.1);
Tailwind
colors: {
  custom: {
    50: '#b1677e',
    500: '#8a224d',
    950: '#000000',
  },
}
SCSS
$custom: #8a224d;
$custom-light: #b1677e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a224d",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 335.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43252,
    "c": 0.14314,
    "h": 0.1
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#8A224D
secondary
#50B88D
accent
#E4A244
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A224D

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

Preview Lab → · Contrast checker → · Palette generator →

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