#8A2C6B#8A2C6B

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

Color values

HEX#8A2C6B
RGBrgb(138, 44, 107)
HSLhsl(320, 52%, 36%)
HSVhsv(320, 68%, 54%)
CMYKcmyk(0%, 68.1%, 22.5%, 45.9%)
CIE-LABlab(34.53, 46.47, -15.62)
CIE-LCHlch(34.53, 49.02, 341.42°)
OKLaboklab(45.48% 0.1395 -0.0417)
OKLCHoklch(45.48% 0.146 343.4)
XYZxyz(14.0362, 8.2675, 14.7636)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C6B #2C8A4B
analogous
#7A2C8A #8A2C6B #8A2C3C
triadic
#8A2C6B #6B8A2C #2C6B8A
tetradic
#8A2C6B #8A7A2C #2C8A4B #2C3C8A
square
#8A2C6B #8A7A2C #2C8A4B #2C3C8A
split-complementary
#8A2C6B #3C8A2C #2C8A7A
monochromatic
#2D0E23 #5C1D47 #8A2C6B #B83B8F #CD63AA

Accessibility & contrast

On white

7.91
#8A2C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2C6B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C6B#FFFFFF#000000##FFFFFF
##8A2C6B1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35476D
Deuteranopia (green-blind)
#515769
Tritanopia (blue-blind)
#932C47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2c6b;
/* rgb */ color: rgb(138, 44, 107);
/* oklch */ color: oklch(45.5% 0.146 343.4);
Tailwind
colors: {
  custom: {
    50: '#af6c95',
    500: '#8a2c6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c6b;
$custom-light: #af6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c6b",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 319.787,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45482,
    "c": 0.14563,
    "h": 343.4
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#8A2C6B
secondary
#5EB47A
accent
#DB7C4D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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