#8A213D#8A213D

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

Color values

HEX#8A213D
RGBrgb(138, 33, 61)
HSLhsl(344, 61%, 34%)
HSVhsv(344, 76%, 54%)
CMYKcmyk(0%, 76.1%, 55.8%, 45.9%)
CIE-LABlab(31.42, 45.53, 9.62)
CIE-LCHlch(31.42, 46.54, 11.93°)
OKLaboklab(42.67% 0.1382 0.0244)
OKLCHoklch(42.67% 0.14 10)
XYZxyz(11.8685, 6.8296, 5.1073)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A213D #218A6E
analogous
#8A2171 #8A213D #8A3921
triadic
#8A213D #3D8A21 #213D8A
tetradic
#8A213D #718A21 #218A6E #39218A
square
#8A213D #718A21 #218A6E #39218A
split-complementary
#8A213D #218A39 #21718A
monochromatic
#270911 #591527 #8A213D #BB2D53 #D55074

Accessibility & contrast

On white

8.88
#8A213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A213D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A213D#FFFFFF#000000##FFFFFF
##8A213D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a213d;
/* rgb */ color: rgb(138, 33, 61);
/* oklch */ color: oklch(42.7% 0.140 10.0);
Tailwind
colors: {
  custom: {
    50: '#b26672',
    500: '#8a213d',
    950: '#000000',
  },
}
SCSS
$custom: #8a213d;
$custom-light: #b26672;
$custom-dark: #000000;
JSON
{
  "hex": "#8a213d",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 344,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.14029,
    "h": 10
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#8A213D
secondary
#4EB99C
accent
#E5BA43
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A213D

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

Preview Lab → · Contrast checker → · Palette generator →

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