#8A266B#8A266B

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

Color values

HEX#8A266B
RGBrgb(138, 38, 107)
HSLhsl(319, 57%, 35%)
HSVhsv(319, 72%, 54%)
CMYKcmyk(0%, 72.5%, 22.5%, 45.9%)
CIE-LABlab(33.67, 48.87, -16.94)
CIE-LCHlch(33.67, 51.72, 340.88°)
OKLaboklab(44.85% 0.1469 -0.0453)
OKLCHoklch(44.85% 0.154 342.8)
XYZxyz(13.8287, 7.8524, 14.6945)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A266B #268A45
analogous
#77268A #8A266B #8A2639
triadic
#8A266B #6B8A26 #266B8A
tetradic
#8A266B #8A7726 #268A45 #26398A
square
#8A266B #8A7726 #268A45 #26398A
split-complementary
#8A266B #398A26 #268A77
monochromatic
#2A0C21 #5A1946 #8A266B #BA3390 #D159AC

Accessibility & contrast

On white

8.17
#8A266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A266B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A266B#FFFFFF#000000##FFFFFF
##8A266B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456D
Deuteranopia (green-blind)
#4E5569
Tritanopia (blue-blind)
#932645
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a266b;
/* rgb */ color: rgb(138, 38, 107);
/* oklch */ color: oklch(44.9% 0.154 342.8);
Tailwind
colors: {
  custom: {
    50: '#b06a95',
    500: '#8a266b',
    950: '#000000',
  },
}
SCSS
$custom: #8a266b;
$custom-light: #b06a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a266b",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 318.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44853,
    "c": 0.1537,
    "h": 342.8
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#8A266B
secondary
#56B674
accent
#E07748
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A266B

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

Preview Lab → · Contrast checker → · Palette generator →

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