#8A2B75#8A2B75

#8A2B75 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.154 H 337.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A2B75
RGBrgb(138, 43, 117)
HSLhsl(313, 52%, 35%)
HSVhsv(313, 69%, 54%)
CMYKcmyk(0%, 68.8%, 15.2%, 45.9%)
CIE-LABlab(34.84, 48.39, -21.47)
CIE-LCHlch(34.84, 52.94, 336.07°)
OKLaboklab(45.85% 0.1427 -0.0582)
OKLCHoklch(45.85% 0.154 337.8)
XYZxyz(14.5563, 8.4167, 17.6841)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B75 #2B8A40
analogous
#6F2B8A #8A2B75 #8A2B45
triadic
#8A2B75 #758A2B #2B758A
tetradic
#8A2B75 #8A6F2B #2B8A40 #2B458A
square
#8A2B75 #8A6F2B #2B8A40 #2B458A
split-complementary
#8A2B75 #458A2B #2B8A6F
monochromatic
#2D0E26 #5B1C4D #8A2B75 #B93A9D #CE61B6

Accessibility & contrast

On white

7.83
#8A2B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A2B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B75
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B75#FFFFFF#000000##FFFFFF
##8A2B751.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4977
Deuteranopia (green-blind)
#4D5773
Tritanopia (blue-blind)
#922F4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2b75;
/* rgb */ color: rgb(138, 43, 117);
/* oklch */ color: oklch(45.9% 0.154 337.8);
Tailwind
colors: {
  custom: {
    50: '#af6c9d',
    500: '#8a2b75',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b75;
$custom-light: #af6c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b75",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 313.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.15409,
    "h": 337.8
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#8A2B75
secondary
#5DB470
accent
#DC6C4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2B75

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

Preview Lab → · Contrast checker → · Palette generator →

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