#8A2B4D#8A2B4D

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

Color values

HEX#8A2B4D
RGBrgb(138, 43, 77)
HSLhsl(339, 52%, 35%)
HSVhsv(339, 69%, 54%)
CMYKcmyk(0%, 68.8%, 44.2%, 45.9%)
CIE-LABlab(33.28, 43.10, 1.79)
CIE-LCHlch(33.28, 43.13, 2.38°)
OKLaboklab(44.2% 0.1318 0.0051)
OKLCHoklch(44.2% 0.132 2.2)
XYZxyz(12.6856, 7.6684, 7.8319)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B4D #2B8A68
analogous
#8A2B7C #8A2B4D #8A382B
triadic
#8A2B4D #4D8A2B #2B4D8A
tetradic
#8A2B4D #7C8A2B #2B8A68 #382B8A
square
#8A2B4D #7C8A2B #2B8A68 #382B8A
split-complementary
#8A2B4D #2B8A38 #2B7C8A
monochromatic
#2D0E19 #5B1C33 #8A2B4D #B93A67 #CE6188

Accessibility & contrast

On white

8.29
#8A2B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A2B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B4D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B4D#FFFFFF#000000##FFFFFF
##8A2B4D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2b4d;
/* rgb */ color: rgb(138, 43, 77);
/* oklch */ color: oklch(44.2% 0.132 2.2);
Tailwind
colors: {
  custom: {
    50: '#b06b7e',
    500: '#8a2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b4d;
$custom-light: #b06b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b4d",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 338.526,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.442,
    "c": 0.13191,
    "h": 2.2
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#8A2B4D
secondary
#5DB495
accent
#DCA84C
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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