#8A2144#8A2144

#8A2144 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.142 H 5.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8A2144
RGBrgb(138, 33, 68)
HSLhsl(340, 61%, 34%)
HSVhsv(340, 76%, 54%)
CMYKcmyk(0%, 76.1%, 50.7%, 45.9%)
CIE-LABlab(31.60, 46.14, 5.27)
CIE-LCHlch(31.60, 46.44, 6.51°)
OKLaboklab(42.87% 0.1409 0.0139)
OKLCHoklch(42.87% 0.142 5.6)
XYZxyz(12.0695, 6.9100, 6.1659)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2144 #218A67
analogous
#8A2178 #8A2144 #8A3221
triadic
#8A2144 #448A21 #21448A
tetradic
#8A2144 #788A21 #218A67 #32218A
square
#8A2144 #788A21 #218A67 #32218A
split-complementary
#8A2144 #218A32 #21788A
monochromatic
#270913 #59152C #8A2144 #BB2D5C #D5507D

Accessibility & contrast

On white

8.82
#8A2144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A2144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2144
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2144#FFFFFF#000000##FFFFFF
##8A21441.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D45
Deuteranopia (green-blind)
#565241
Tritanopia (blue-blind)
#970930
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2144;
/* rgb */ color: rgb(138, 33, 68);
/* oklch */ color: oklch(42.9% 0.142 5.6);
Tailwind
colors: {
  custom: {
    50: '#b16677',
    500: '#8a2144',
    950: '#000000',
  },
}
SCSS
$custom: #8a2144;
$custom-light: #b16677;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2144",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 340,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42871,
    "c": 0.14162,
    "h": 5.6
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#8A2144
secondary
#4EB995
accent
#E5AF43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2144

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

Preview Lab → · Contrast checker → · Palette generator →

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