#8A266F#8A266F

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

Color values

HEX#8A266F
RGBrgb(138, 38, 111)
HSLhsl(316, 57%, 35%)
HSVhsv(316, 72%, 54%)
CMYKcmyk(0%, 72.5%, 19.6%, 45.9%)
CIE-LABlab(33.85, 49.44, -19.21)
CIE-LCHlch(33.85, 53.04, 338.77°)
OKLaboklab(45.04% 0.1476 -0.0517)
OKLCHoklch(45.04% 0.156 340.7)
XYZxyz(14.0440, 7.9386, 15.8285)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A266F #268A41
analogous
#73268A #8A266F #8A263D
triadic
#8A266F #6F8A26 #266F8A
tetradic
#8A266F #8A7326 #268A41 #263D8A
square
#8A266F #8A7326 #268A41 #263D8A
split-complementary
#8A266F #3D8A26 #268A73
monochromatic
#2A0C22 #5A1948 #8A266F #BA3396 #D159B1

Accessibility & contrast

On white

8.12
#8A266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A266F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A266F#FFFFFF#000000##FFFFFF
##8A266F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#4D556D
Tritanopia (blue-blind)
#922847
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a266f;
/* rgb */ color: rgb(138, 38, 111);
/* oklch */ color: oklch(45.0% 0.156 340.7);
Tailwind
colors: {
  custom: {
    50: '#af6a98',
    500: '#8a266f',
    950: '#000000',
  },
}
SCSS
$custom: #8a266f;
$custom-light: #af6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a266f",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 316.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.1564,
    "h": 340.7
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#8A266F
secondary
#56B670
accent
#E07148
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A266F

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

Preview Lab → · Contrast checker → · Palette generator →

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