#8A2B4E#8A2B4E

#8A2B4E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.2% C 0.132 H 1.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8A2B4E
RGBrgb(138, 43, 78)
HSLhsl(338, 52%, 35%)
HSVhsv(338, 69%, 54%)
CMYKcmyk(0%, 68.8%, 43.5%, 45.9%)
CIE-LABlab(33.31, 43.20, 1.19)
CIE-LCHlch(33.31, 43.22, 1.58°)
OKLaboklab(44.23% 0.1322 0.0036)
OKLCHoklch(44.23% 0.132 1.6)
XYZxyz(12.7212, 7.6826, 8.0192)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B4E #2B8A67
analogous
#8A2B7D #8A2B4E #8A382B
triadic
#8A2B4E #4E8A2B #2B4E8A
tetradic
#8A2B4E #7D8A2B #2B8A67 #382B8A
square
#8A2B4E #7D8A2B #2B8A67 #382B8A
split-complementary
#8A2B4E #2B8A38 #2B7D8A
monochromatic
#2D0E19 #5B1C34 #8A2B4E #B93A68 #CE6189

Accessibility & contrast

On white

8.28
#8A2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B4E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B4E#FFFFFF#000000##FFFFFF
##8A2B4E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E434F
Deuteranopia (green-blind)
#58554C
Tritanopia (blue-blind)
#961F39
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2b4e;
/* rgb */ color: rgb(138, 43, 78);
/* oklch */ color: oklch(44.2% 0.132 1.6);
Tailwind
colors: {
  custom: {
    50: '#b06b7f',
    500: '#8a2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b4e;
$custom-light: #b06b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b4e",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 337.895,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.13223,
    "h": 1.6
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#8A2B4E
secondary
#5DB494
accent
#DCA74C
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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