#8A2A6B#8A2A6B

#8A2A6B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.148 H 343.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2A6B
RGBrgb(138, 42, 107)
HSLhsl(319, 53%, 35%)
HSVhsv(319, 70%, 54%)
CMYKcmyk(0%, 69.6%, 22.5%, 45.9%)
CIE-LABlab(34.24, 47.29, -16.08)
CIE-LCHlch(34.24, 49.95, 341.22°)
OKLaboklab(45.26% 0.1421 -0.043)
OKLCHoklch(45.26% 0.148 343.2)
XYZxyz(13.9635, 8.1221, 14.7394)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A6B #2A8A49
analogous
#792A8A #8A2A6B #8A2A3B
triadic
#8A2A6B #6B8A2A #2A6B8A
tetradic
#8A2A6B #8A792A #2A8A49 #2A3B8A
square
#8A2A6B #8A792A #2A8A49 #2A3B8A
split-complementary
#8A2A6B #3B8A2A #2A8A79
monochromatic
#2C0D22 #5B1C47 #8A2A6B #B9388F #CF60AB

Accessibility & contrast

On white

8.00
#8A2A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A6B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A6B#FFFFFF#000000##FFFFFF
##8A2A6B1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466D
Deuteranopia (green-blind)
#505669
Tritanopia (blue-blind)
#932A46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2a6b;
/* rgb */ color: rgb(138, 42, 107);
/* oklch */ color: oklch(45.3% 0.148 343.2);
Tailwind
colors: {
  custom: {
    50: '#af6b95',
    500: '#8a2a6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a6b;
$custom-light: #af6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a6b",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 319.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45263,
    "c": 0.1484,
    "h": 343.2
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#8A2A6B
secondary
#5BB478
accent
#DD7A4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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