#8A224E#8A224E

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

Color values

HEX#8A224E
RGBrgb(138, 34, 78)
HSLhsl(335, 60%, 34%)
HSVhsv(335, 75%, 54%)
CMYKcmyk(0%, 75.4%, 43.5%, 45.9%)
CIE-LABlab(32.03, 46.76, -0.68)
CIE-LCHlch(32.03, 46.76, 359.17°)
OKLaboklab(43.29% 0.1435 -0.0012)
OKLCHoklch(43.29% 0.144 359.5)
XYZxyz(12.4293, 7.0990, 7.9220)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A224E #228A5E
analogous
#8A2282 #8A224E #8A2A22
triadic
#8A224E #4E8A22 #224E8A
tetradic
#8A224E #828A22 #228A5E #2A228A
square
#8A224E #828A22 #228A5E #2A228A
split-complementary
#8A224E #228A2A #22828A
monochromatic
#280A16 #591632 #8A224E #BB2E6A #D45289

Accessibility & contrast

On white

8.68
#8A224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A224E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A224E#FFFFFF#000000##FFFFFF
##8A224E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F4F
Deuteranopia (green-blind)
#55534C
Tritanopia (blue-blind)
#961235
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a224e;
/* rgb */ color: rgb(138, 34, 78);
/* oklch */ color: oklch(43.3% 0.143 359.5);
Tailwind
colors: {
  custom: {
    50: '#b1677f',
    500: '#8a224e',
    950: '#000000',
  },
}
SCSS
$custom: #8a224e;
$custom-light: #b1677f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a224e",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 334.615,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43286,
    "c": 0.1435,
    "h": 359.5
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#8A224E
secondary
#50B88C
accent
#E4A044
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A224E

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

Preview Lab → · Contrast checker → · Palette generator →

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