#8A213C#8A213C

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

Color values

HEX#8A213C
RGBrgb(138, 33, 60)
HSLhsl(345, 61%, 34%)
HSVhsv(345, 76%, 54%)
CMYKcmyk(0%, 76.1%, 56.5%, 45.9%)
CIE-LABlab(31.39, 45.45, 10.25)
CIE-LCHlch(31.39, 46.59, 12.71°)
OKLaboklab(42.65% 0.1377 0.0259)
OKLCHoklch(42.65% 0.14 10.6)
XYZxyz(11.8418, 6.8189, 4.9667)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A213C #218A6F
analogous
#8A2170 #8A213C #8A3A21
triadic
#8A213C #3C8A21 #213C8A
tetradic
#8A213C #708A21 #218A6F #3A218A
square
#8A213C #708A21 #218A6F #3A218A
split-complementary
#8A213C #218A3A #21708A
monochromatic
#270911 #591527 #8A213C #BB2D51 #D55072

Accessibility & contrast

On white

8.89
#8A213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A213C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A213C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A213C#FFFFFF#000000##FFFFFF
##8A213C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3C
Deuteranopia (green-blind)
#575239
Tritanopia (blue-blind)
#97032C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a213c;
/* rgb */ color: rgb(138, 33, 60);
/* oklch */ color: oklch(42.6% 0.140 10.6);
Tailwind
colors: {
  custom: {
    50: '#b26671',
    500: '#8a213c',
    950: '#000000',
  },
}
SCSS
$custom: #8a213c;
$custom-light: #b26671;
$custom-dark: #000000;
JSON
{
  "hex": "#8a213c",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 344.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.14015,
    "h": 10.6
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#8A213C
secondary
#4EB99D
accent
#E5BB43
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A213C

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

Preview Lab → · Contrast checker → · Palette generator →

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