#8A264C#8A264C

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

Color values

HEX#8A264C
RGBrgb(138, 38, 76)
HSLhsl(337, 57%, 35%)
HSVhsv(337, 72%, 54%)
CMYKcmyk(0%, 72.5%, 44.9%, 45.9%)
CIE-LABlab(32.51, 45.04, 1.32)
CIE-LCHlch(32.51, 45.06, 1.68°)
OKLaboklab(43.62% 0.138 0.0039)
OKLCHoklch(43.62% 0.138 1.6)
XYZxyz(12.4798, 7.3129, 7.5904)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A264C #268A64
analogous
#8A267E #8A264C #8A3226
triadic
#8A264C #4C8A26 #264C8A
tetradic
#8A264C #7E8A26 #268A64 #32268A
square
#8A264C #7E8A26 #268A64 #32268A
split-complementary
#8A264C #268A32 #267E8A
monochromatic
#2A0C17 #5A1932 #8A264C #BA3366 #D15987

Accessibility & contrast

On white

8.53
#8A264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A264C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A264C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A264C#FFFFFF#000000##FFFFFF
##8A264C1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404D
Deuteranopia (green-blind)
#56544A
Tritanopia (blue-blind)
#961736
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a264c;
/* rgb */ color: rgb(138, 38, 76);
/* oklch */ color: oklch(43.6% 0.138 1.6);
Tailwind
colors: {
  custom: {
    50: '#b1697d',
    500: '#8a264c',
    950: '#000000',
  },
}
SCSS
$custom: #8a264c;
$custom-light: #b1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a264c",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 337.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43618,
    "c": 0.13802,
    "h": 1.6
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#8A264C
secondary
#56B691
accent
#E0A648
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A264C

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

Preview Lab → · Contrast checker → · Palette generator →

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