#8A2B6E#8A2B6E

#8A2B6E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.149 H 341.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8A2B6E
RGBrgb(138, 43, 110)
HSLhsl(318, 52%, 35%)
HSVhsv(318, 69%, 54%)
CMYKcmyk(0%, 68.8%, 20.3%, 45.9%)
CIE-LABlab(34.51, 47.32, -17.55)
CIE-LCHlch(34.51, 50.47, 339.65°)
OKLaboklab(45.51% 0.1414 -0.0471)
OKLCHoklch(45.51% 0.149 341.6)
XYZxyz(14.1600, 8.2582, 15.5971)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B6E #2B8A47
analogous
#762B8A #8A2B6E #8A2B3F
triadic
#8A2B6E #6E8A2B #2B6E8A
tetradic
#8A2B6E #8A762B #2B8A47 #2B3F8A
square
#8A2B6E #8A762B #2B8A47 #2B3F8A
split-complementary
#8A2B6E #3F8A2B #2B8A76
monochromatic
#2D0E24 #5B1C49 #8A2B6E #B93A93 #CE61AE

Accessibility & contrast

On white

7.92
#8A2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B6E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B6E#FFFFFF#000000##FFFFFF
##8A2B6E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#4F576C
Tritanopia (blue-blind)
#922C48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2b6e;
/* rgb */ color: rgb(138, 43, 110);
/* oklch */ color: oklch(45.5% 0.149 341.6);
Tailwind
colors: {
  custom: {
    50: '#af6c97',
    500: '#8a2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b6e;
$custom-light: #af6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b6e",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 317.684,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.14907,
    "h": 341.6
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#8A2B6E
secondary
#5DB477
accent
#DC764C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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