#8A2141#8A2141

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

Color values

HEX#8A2141
RGBrgb(138, 33, 65)
HSLhsl(342, 61%, 34%)
HSVhsv(342, 76%, 54%)
CMYKcmyk(0%, 76.1%, 52.9%, 45.9%)
CIE-LABlab(31.52, 45.87, 7.13)
CIE-LCHlch(31.52, 46.42, 8.83°)
OKLaboklab(42.78% 0.1398 0.0184)
OKLCHoklch(42.78% 0.141 7.5)
XYZxyz(11.9803, 6.8743, 5.6960)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2141 #218A6A
analogous
#8A2175 #8A2141 #8A3521
triadic
#8A2141 #418A21 #21418A
tetradic
#8A2141 #758A21 #218A6A #35218A
square
#8A2141 #758A21 #218A6A #35218A
split-complementary
#8A2141 #218A35 #21758A
monochromatic
#270912 #59152A #8A2141 #BB2D58 #D55079

Accessibility & contrast

On white

8.84
#8A2141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2141
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2141#FFFFFF#000000##FFFFFF
##8A21411.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D42
Deuteranopia (green-blind)
#57523E
Tritanopia (blue-blind)
#97072E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2141;
/* rgb */ color: rgb(138, 33, 65);
/* oklch */ color: oklch(42.8% 0.141 7.5);
Tailwind
colors: {
  custom: {
    50: '#b26675',
    500: '#8a2141',
    950: '#000000',
  },
}
SCSS
$custom: #8a2141;
$custom-light: #b26675;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2141",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 65
  },
  "hsl": {
    "h": 341.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.14097,
    "h": 7.5
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#8A2141
secondary
#4EB998
accent
#E5B343
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2141

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

Preview Lab → · Contrast checker → · Palette generator →

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