#8A2A4F#8A2A4F

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

Color values

HEX#8A2A4F
RGBrgb(138, 42, 79)
HSLhsl(337, 53%, 35%)
HSVhsv(337, 70%, 54%)
CMYKcmyk(0%, 69.6%, 42.8%, 45.9%)
CIE-LABlab(33.19, 43.74, 0.36)
CIE-LCHlch(33.19, 43.74, 0.47°)
OKLaboklab(44.15% 0.1339 0.0014)
OKLCHoklch(44.15% 0.134 0.6)
XYZxyz(12.7214, 7.6253, 8.1975)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A4F #2A8A65
analogous
#8A2A7F #8A2A4F #8A352A
triadic
#8A2A4F #4F8A2A #2A4F8A
tetradic
#8A2A4F #7F8A2A #2A8A65 #352A8A
square
#8A2A4F #7F8A2A #2A8A65 #352A8A
split-complementary
#8A2A4F #2A8A35 #2A7F8A
monochromatic
#2C0D19 #5B1C34 #8A2A4F #B9386A #CF608B

Accessibility & contrast

On white

8.32
#8A2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2A4F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A4F#FFFFFF#000000##FFFFFF
##8A2A4F1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2a4f;
/* rgb */ color: rgb(138, 42, 79);
/* oklch */ color: oklch(44.2% 0.134 0.6);
Tailwind
colors: {
  custom: {
    50: '#b06b80',
    500: '#8a2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a4f;
$custom-light: #b06b80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a4f",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 336.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.1339,
    "h": 0.6
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#8A2A4F
secondary
#5BB492
accent
#DDA54B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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