#8A2A4E#8A2A4E

#8A2A4E is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.134 H 1.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8A2A4E
RGBrgb(138, 42, 78)
HSLhsl(338, 53%, 35%)
HSVhsv(338, 70%, 54%)
CMYKcmyk(0%, 69.6%, 43.5%, 45.9%)
CIE-LABlab(33.16, 43.63, 0.96)
CIE-LCHlch(33.16, 43.64, 1.27°)
OKLaboklab(44.12% 0.1335 0.003)
OKLCHoklch(44.12% 0.134 1.3)
XYZxyz(12.6852, 7.6108, 8.0073)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A4E #2A8A66
analogous
#8A2A7E #8A2A4E #8A362A
triadic
#8A2A4E #4E8A2A #2A4E8A
tetradic
#8A2A4E #7E8A2A #2A8A66 #362A8A
square
#8A2A4E #7E8A2A #2A8A66 #362A8A
split-complementary
#8A2A4E #2A8A36 #2A7E8A
monochromatic
#2C0D19 #5B1C33 #8A2A4E #B93869 #CF6089

Accessibility & contrast

On white

8.33
#8A2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A4E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A4E#FFFFFF#000000##FFFFFF
##8A2A4E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424F
Deuteranopia (green-blind)
#57554C
Tritanopia (blue-blind)
#961E39
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2a4e;
/* rgb */ color: rgb(138, 42, 78);
/* oklch */ color: oklch(44.1% 0.134 1.3);
Tailwind
colors: {
  custom: {
    50: '#b06b7f',
    500: '#8a2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a4e;
$custom-light: #b06b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a4e",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 337.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.13355,
    "h": 1.3
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#8A2A4E
secondary
#5BB493
accent
#DDA64B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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