#8A264D#8A264D

#8A264D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.138 H 1.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8A264D
RGBrgb(138, 38, 77)
HSLhsl(337, 57%, 35%)
HSVhsv(337, 72%, 54%)
CMYKcmyk(0%, 72.5%, 44.2%, 45.9%)
CIE-LABlab(32.54, 45.15, 0.72)
CIE-LCHlch(32.54, 45.15, 0.91°)
OKLaboklab(43.65% 0.1383 0.0024)
OKLCHoklch(43.65% 0.138 1)
XYZxyz(12.5148, 7.3269, 7.7749)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A264D #268A63
analogous
#8A267F #8A264D #8A3126
triadic
#8A264D #4D8A26 #264D8A
tetradic
#8A264D #7F8A26 #268A63 #31268A
square
#8A264D #7F8A26 #268A63 #31268A
split-complementary
#8A264D #268A31 #267F8A
monochromatic
#2A0C17 #5A1932 #8A264D #BA3368 #D15988

Accessibility & contrast

On white

8.52
#8A264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A264D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A264D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A264D#FFFFFF#000000##FFFFFF
##8A264D1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404E
Deuteranopia (green-blind)
#56544B
Tritanopia (blue-blind)
#961836
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a264d;
/* rgb */ color: rgb(138, 38, 77);
/* oklch */ color: oklch(43.7% 0.138 1.0);
Tailwind
colors: {
  custom: {
    50: '#b1697e',
    500: '#8a264d',
    950: '#000000',
  },
}
SCSS
$custom: #8a264d;
$custom-light: #b1697e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a264d",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 336.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.13835,
    "h": 1
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#8A264D
secondary
#56B690
accent
#E0A548
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A264D

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

Preview Lab → · Contrast checker → · Palette generator →

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