#8A2047#8A2047

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

Color values

HEX#8A2047
RGBrgb(138, 32, 71)
HSLhsl(338, 62%, 33%)
HSVhsv(338, 77%, 54%)
CMYKcmyk(0%, 76.8%, 48.6%, 45.9%)
CIE-LABlab(31.56, 46.77, 3.24)
CIE-LCHlch(31.56, 46.88, 3.96°)
OKLaboklab(42.87% 0.1432 0.0088)
OKLCHoklch(42.87% 0.143 3.5)
XYZxyz(12.1361, 6.8929, 6.6514)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2047 #208A63
analogous
#8A207C #8A2047 #8A2E20
triadic
#8A2047 #478A20 #20478A
tetradic
#8A2047 #7C8A20 #208A63 #2E208A
square
#8A2047 #7C8A20 #208A63 #2E208A
split-complementary
#8A2047 #208A2E #207C8A
monochromatic
#270914 #58142D #8A2047 #BC2C61 #D64E80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2047#FFFFFF#000000##FFFFFF
##8A20471.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)
#393D48
Deuteranopia (green-blind)
#555245
Tritanopia (blue-blind)
#960931
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2047;
/* rgb */ color: rgb(138, 32, 71);
/* oklch */ color: oklch(42.9% 0.143 3.5);
Tailwind
colors: {
  custom: {
    50: '#b1667a',
    500: '#8a2047',
    950: '#000000',
  },
}
SCSS
$custom: #8a2047;
$custom-light: #b1667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2047",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 337.925,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.14349,
    "h": 3.5
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#8A2047
secondary
#4DB991
accent
#E5A942
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A2047

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

Preview Lab → · Contrast checker → · Palette generator →

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