#8A213E#8A213E

#8A213E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.140 H 9.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8A213E
RGBrgb(138, 33, 62)
HSLhsl(343, 61%, 34%)
HSVhsv(343, 76%, 54%)
CMYKcmyk(0%, 76.1%, 55.1%, 45.9%)
CIE-LABlab(31.44, 45.62, 9.00)
CIE-LCHlch(31.44, 46.50, 11.16°)
OKLaboklab(42.7% 0.1386 0.0229)
OKLCHoklch(42.7% 0.14 9.4)
XYZxyz(11.8957, 6.8404, 5.2504)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A213E #218A6D
analogous
#8A2172 #8A213E #8A3821
triadic
#8A213E #3E8A21 #213E8A
tetradic
#8A213E #728A21 #218A6D #38218A
square
#8A213E #728A21 #218A6D #38218A
split-complementary
#8A213E #218A38 #21728A
monochromatic
#270912 #591528 #8A213E #BB2D54 #D55075

Accessibility & contrast

On white

8.87
#8A213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A213E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A213E#FFFFFF#000000##FFFFFF
##8A213E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3F
Deuteranopia (green-blind)
#57523B
Tritanopia (blue-blind)
#97042D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a213e;
/* rgb */ color: rgb(138, 33, 62);
/* oklch */ color: oklch(42.7% 0.140 9.4);
Tailwind
colors: {
  custom: {
    50: '#b26673',
    500: '#8a213e',
    950: '#000000',
  },
}
SCSS
$custom: #8a213e;
$custom-light: #b26673;
$custom-dark: #000000;
JSON
{
  "hex": "#8a213e",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 343.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.427,
    "c": 0.14044,
    "h": 9.4
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#8A213E
secondary
#4EB99B
accent
#E5B843
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A213E

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

Preview Lab → · Contrast checker → · Palette generator →

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