#8A2E6B#8A2E6B

#8A2E6B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.143 H 343.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8A2E6B
RGBrgb(138, 46, 107)
HSLhsl(320, 50%, 36%)
HSVhsv(320, 67%, 54%)
CMYKcmyk(0%, 66.7%, 22.5%, 45.9%)
CIE-LABlab(34.84, 45.61, -15.15)
CIE-LCHlch(34.84, 48.06, 341.63°)
OKLaboklab(45.71% 0.1369 -0.0404)
OKLCHoklch(45.71% 0.143 343.6)
XYZxyz(14.1125, 8.4202, 14.7891)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E6B #2E8A4D
analogous
#7B2E8A #8A2E6B #8A2E3D
triadic
#8A2E6B #6B8A2E #2E6B8A
tetradic
#8A2E6B #8A7B2E #2E8A4D #2E3D8A
square
#8A2E6B #8A7B2E #2E8A4D #2E3D8A
split-complementary
#8A2E6B #3D8A2E #2E8A7B
monochromatic
#2E0F24 #5C1F47 #8A2E6B #B83D8F #CC66AA

Accessibility & contrast

On white

7.82
#8A2E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E6B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E6B#FFFFFF#000000##FFFFFF
##8A2E6B1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486D
Deuteranopia (green-blind)
#525869
Tritanopia (blue-blind)
#932E48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2e6b;
/* rgb */ color: rgb(138, 46, 107);
/* oklch */ color: oklch(45.7% 0.143 343.6);
Tailwind
colors: {
  custom: {
    50: '#af6d95',
    500: '#8a2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e6b;
$custom-light: #af6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e6b",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 320.217,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45708,
    "c": 0.14277,
    "h": 343.6
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#8A2E6B
secondary
#61B37D
accent
#DA7D4E
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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