#8A2143#8A2143

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

Color values

HEX#8A2143
RGBrgb(138, 33, 67)
HSLhsl(341, 61%, 34%)
HSVhsv(341, 76%, 54%)
CMYKcmyk(0%, 76.1%, 51.4%, 45.9%)
CIE-LABlab(31.57, 46.05, 5.89)
CIE-LCHlch(31.57, 46.42, 7.29°)
OKLaboklab(42.84% 0.1406 0.0154)
OKLCHoklch(42.84% 0.141 6.2)
XYZxyz(12.0393, 6.8979, 6.0066)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2143 #218A68
analogous
#8A2177 #8A2143 #8A3321
triadic
#8A2143 #438A21 #21438A
tetradic
#8A2143 #778A21 #218A68 #33218A
square
#8A2143 #778A21 #218A68 #33218A
split-complementary
#8A2143 #218A33 #21778A
monochromatic
#270913 #59152B #8A2143 #BB2D5B #D5507B

Accessibility & contrast

On white

8.83
#8A2143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2143
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2143#FFFFFF#000000##FFFFFF
##8A21431.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D44
Deuteranopia (green-blind)
#565240
Tritanopia (blue-blind)
#97082F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2143;
/* rgb */ color: rgb(138, 33, 67);
/* oklch */ color: oklch(42.8% 0.141 6.2);
Tailwind
colors: {
  custom: {
    50: '#b16676',
    500: '#8a2143',
    950: '#000000',
  },
}
SCSS
$custom: #8a2143;
$custom-light: #b16676;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2143",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 340.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.14139,
    "h": 6.2
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#8A2143
secondary
#4EB996
accent
#E5B043
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2143

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

Preview Lab → · Contrast checker → · Palette generator →

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