#8A213F#8A213F

#8A213F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.141 H 8.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8A213F
RGBrgb(138, 33, 63)
HSLhsl(343, 61%, 34%)
HSVhsv(343, 76%, 54%)
CMYKcmyk(0%, 76.1%, 54.3%, 45.9%)
CIE-LABlab(31.47, 45.70, 8.37)
CIE-LCHlch(31.47, 46.46, 10.38°)
OKLaboklab(42.73% 0.139 0.0214)
OKLCHoklch(42.73% 0.141 8.8)
XYZxyz(11.9234, 6.8515, 5.3963)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A213F #218A6C
analogous
#8A2173 #8A213F #8A3721
triadic
#8A213F #3F8A21 #213F8A
tetradic
#8A213F #738A21 #218A6C #37218A
square
#8A213F #738A21 #218A6C #37218A
split-complementary
#8A213F #218A37 #21738A
monochromatic
#270912 #591528 #8A213F #BB2D56 #D55076

Accessibility & contrast

On white

8.86
#8A213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A213F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A213F#FFFFFF#000000##FFFFFF
##8A213F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D40
Deuteranopia (green-blind)
#57523C
Tritanopia (blue-blind)
#97052E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a213f;
/* rgb */ color: rgb(138, 33, 63);
/* oklch */ color: oklch(42.7% 0.141 8.8);
Tailwind
colors: {
  custom: {
    50: '#b26673',
    500: '#8a213f',
    950: '#000000',
  },
}
SCSS
$custom: #8a213f;
$custom-light: #b26673;
$custom-dark: #000000;
JSON
{
  "hex": "#8a213f",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 342.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.1406,
    "h": 8.8
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#8A213F
secondary
#4EB99A
accent
#E5B643
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A213F

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

Preview Lab → · Contrast checker → · Palette generator →

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