#8A266D#8A266D

#8A266D is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.155 H 341.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8A266D
RGBrgb(138, 38, 109)
HSLhsl(317, 57%, 35%)
HSVhsv(317, 72%, 54%)
CMYKcmyk(0%, 72.5%, 21%, 45.9%)
CIE-LABlab(33.76, 49.15, -18.08)
CIE-LCHlch(33.76, 52.37, 339.81°)
OKLaboklab(44.95% 0.1472 -0.0485)
OKLCHoklch(44.95% 0.155 341.8)
XYZxyz(13.9351, 7.8950, 15.2550)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A266D #268A43
analogous
#75268A #8A266D #8A263B
triadic
#8A266D #6D8A26 #266D8A
tetradic
#8A266D #8A7526 #268A43 #263B8A
square
#8A266D #8A7526 #268A43 #263B8A
split-complementary
#8A266D #3B8A26 #268A75
monochromatic
#2A0C21 #5A1947 #8A266D #BA3393 #D159AE

Accessibility & contrast

On white

8.14
#8A266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A266D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A266D#FFFFFF#000000##FFFFFF
##8A266D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E456F
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#932746
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a266d;
/* rgb */ color: rgb(138, 38, 109);
/* oklch */ color: oklch(44.9% 0.155 341.8);
Tailwind
colors: {
  custom: {
    50: '#b06a97',
    500: '#8a266d',
    950: '#000000',
  },
}
SCSS
$custom: #8a266d;
$custom-light: #b06a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a266d",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 317.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.15503,
    "h": 341.8
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#8A266D
secondary
#56B672
accent
#E07448
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A266D

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

Preview Lab → · Contrast checker → · Palette generator →

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