#8A2B62#8A2B62

#8A2B62 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.141 H 348.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A2B62
RGBrgb(138, 43, 98)
HSLhsl(325, 52%, 35%)
HSVhsv(325, 69%, 54%)
CMYKcmyk(0%, 68.8%, 29%, 45.9%)
CIE-LABlab(34.01, 45.63, -10.68)
CIE-LCHlch(34.01, 46.86, 346.83°)
OKLaboklab(44.98% 0.1386 -0.028)
OKLCHoklch(44.98% 0.141 348.6)
XYZxyz(13.5503, 8.0143, 12.3862)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B62 #2B8A53
analogous
#822B8A #8A2B62 #8A2B33
triadic
#8A2B62 #628A2B #2B628A
tetradic
#8A2B62 #8A822B #2B8A53 #2B338A
square
#8A2B62 #8A822B #2B8A53 #2B338A
split-complementary
#8A2B62 #338A2B #2B8A82
monochromatic
#2D0E20 #5B1C41 #8A2B62 #B93A83 #CE61A0

Accessibility & contrast

On white

8.07
#8A2B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B62
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B62#FFFFFF#000000##FFFFFF
##8A2B621.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384564
Deuteranopia (green-blind)
#535660
Tritanopia (blue-blind)
#942742
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2b62;
/* rgb */ color: rgb(138, 43, 98);
/* oklch */ color: oklch(45.0% 0.141 348.6);
Tailwind
colors: {
  custom: {
    50: '#b06c8e',
    500: '#8a2b62',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b62;
$custom-light: #b06c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b62",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 325.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44978,
    "c": 0.14141,
    "h": 348.6
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#8A2B62
secondary
#5DB482
accent
#DC894C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2B62

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

Preview Lab → · Contrast checker → · Palette generator →

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