#8A266E#8A266E

#8A266E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.156 H 341.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A266E
RGBrgb(138, 38, 110)
HSLhsl(317, 57%, 35%)
HSVhsv(317, 72%, 54%)
CMYKcmyk(0%, 72.5%, 20.3%, 45.9%)
CIE-LABlab(33.81, 49.30, -18.64)
CIE-LCHlch(33.81, 52.70, 339.29°)
OKLaboklab(45% 0.1474 -0.0501)
OKLCHoklch(45% 0.156 341.2)
XYZxyz(13.9892, 7.9167, 15.5402)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A266E #268A42
analogous
#74268A #8A266E #8A263C
triadic
#8A266E #6E8A26 #266E8A
tetradic
#8A266E #8A7426 #268A42 #263C8A
square
#8A266E #8A7426 #268A42 #263C8A
split-complementary
#8A266E #3C8A26 #268A74
monochromatic
#2A0C22 #5A1948 #8A266E #BA3394 #D159B0

Accessibility & contrast

On white

8.13
#8A266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A266E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A266E#FFFFFF#000000##FFFFFF
##8A266E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4570
Deuteranopia (green-blind)
#4D556C
Tritanopia (blue-blind)
#932846
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a266e;
/* rgb */ color: rgb(138, 38, 110);
/* oklch */ color: oklch(45.0% 0.156 341.2);
Tailwind
colors: {
  custom: {
    50: '#b06a97',
    500: '#8a266e',
    950: '#000000',
  },
}
SCSS
$custom: #8a266e;
$custom-light: #b06a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a266e",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 316.8,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.15571,
    "h": 341.2
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#8A266E
secondary
#56B671
accent
#E07248
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A266E

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

Preview Lab → · Contrast checker → · Palette generator →

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