#8A2043#8A2043

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

Color values

HEX#8A2043
RGBrgb(138, 32, 67)
HSLhsl(340, 62%, 33%)
HSVhsv(340, 77%, 54%)
CMYKcmyk(0%, 76.8%, 51.4%, 45.9%)
CIE-LABlab(31.45, 46.40, 5.71)
CIE-LCHlch(31.45, 46.75, 7.01°)
OKLaboklab(42.75% 0.1417 0.0149)
OKLCHoklch(42.75% 0.142 6)
XYZxyz(12.0119, 6.8432, 5.9974)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2043 #208A67
analogous
#8A2078 #8A2043 #8A3220
triadic
#8A2043 #438A20 #20438A
tetradic
#8A2043 #788A20 #208A67 #32208A
square
#8A2043 #788A20 #208A67 #32208A
split-complementary
#8A2043 #208A32 #20788A
monochromatic
#270913 #58142B #8A2043 #BC2C5B #D64E7B

Accessibility & contrast

On white

8.87
#8A2043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2043
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2043#FFFFFF#000000##FFFFFF
##8A20431.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2043;
/* rgb */ color: rgb(138, 32, 67);
/* oklch */ color: oklch(42.7% 0.142 6.0);
Tailwind
colors: {
  custom: {
    50: '#b16676',
    500: '#8a2043',
    950: '#000000',
  },
}
SCSS
$custom: #8a2043;
$custom-light: #b16676;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2043",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 67
  },
  "hsl": {
    "h": 340.189,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.14247,
    "h": 6
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#8A2043
secondary
#4DB995
accent
#E5B042
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A2043

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

Preview Lab → · Contrast checker → · Palette generator →

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