#8A214E#8A214E

#8A214E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.145 H 359.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8A214E
RGBrgb(138, 33, 78)
HSLhsl(334, 61%, 34%)
HSVhsv(334, 76%, 54%)
CMYKcmyk(0%, 76.1%, 43.5%, 45.9%)
CIE-LABlab(31.90, 47.12, -0.87)
CIE-LCHlch(31.90, 47.12, 358.94°)
OKLaboklab(43.19% 0.1446 -0.0017)
OKLCHoklch(43.19% 0.145 359.3)
XYZxyz(12.4012, 7.0426, 7.9126)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A214E #218A5D
analogous
#8A2182 #8A214E #8A2821
triadic
#8A214E #4E8A21 #214E8A
tetradic
#8A214E #828A21 #218A5D #28218A
square
#8A214E #828A21 #218A5D #28218A
split-complementary
#8A214E #218A28 #21828A
monochromatic
#270916 #591532 #8A214E #BB2D6A #D55089

Accessibility & contrast

On white

8.72
#8A214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A214E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A214E#FFFFFF#000000##FFFFFF
##8A214E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4F
Deuteranopia (green-blind)
#54524C
Tritanopia (blue-blind)
#961134
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a214e;
/* rgb */ color: rgb(138, 33, 78);
/* oklch */ color: oklch(43.2% 0.145 359.3);
Tailwind
colors: {
  custom: {
    50: '#b1667f',
    500: '#8a214e',
    950: '#000000',
  },
}
SCSS
$custom: #8a214e;
$custom-light: #b1667f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a214e",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 334.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43193,
    "c": 0.14464,
    "h": 359.3
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#8A214E
secondary
#4EB98B
accent
#E59F43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A214E

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

Preview Lab → · Contrast checker → · Palette generator →

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