#8A266A#8A266A

#8A266A is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.153 H 343.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A266A
RGBrgb(138, 38, 106)
HSLhsl(319, 57%, 35%)
HSVhsv(319, 72%, 54%)
CMYKcmyk(0%, 72.5%, 23.2%, 45.9%)
CIE-LABlab(33.63, 48.72, -16.37)
CIE-LCHlch(33.63, 51.40, 341.42°)
OKLaboklab(44.81% 0.1467 -0.0438)
OKLCHoklch(44.81% 0.153 343.4)
XYZxyz(13.7764, 7.8315, 14.4190)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A266A #268A46
analogous
#78268A #8A266A #8A2638
triadic
#8A266A #6A8A26 #266A8A
tetradic
#8A266A #8A7826 #268A46 #26388A
square
#8A266A #8A7826 #268A46 #26388A
split-complementary
#8A266A #388A26 #268A78
monochromatic
#2A0C20 #5A1945 #8A266A #BA338F #D159AB

Accessibility & contrast

On white

8.18
#8A266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A266A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A266A#FFFFFF#000000##FFFFFF
##8A266A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446C
Deuteranopia (green-blind)
#4E5568
Tritanopia (blue-blind)
#932644
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a266a;
/* rgb */ color: rgb(138, 38, 106);
/* oklch */ color: oklch(44.8% 0.153 343.4);
Tailwind
colors: {
  custom: {
    50: '#b06a94',
    500: '#8a266a',
    950: '#000000',
  },
}
SCSS
$custom: #8a266a;
$custom-light: #b06a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a266a",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 319.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.15305,
    "h": 343.4
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#8A266A
secondary
#56B675
accent
#E07848
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A266A

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

Preview Lab → · Contrast checker → · Palette generator →

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