#8A264E#8A264E

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

Color values

HEX#8A264E
RGBrgb(138, 38, 78)
HSLhsl(336, 57%, 35%)
HSVhsv(336, 72%, 54%)
CMYKcmyk(0%, 72.5%, 43.5%, 45.9%)
CIE-LABlab(32.57, 45.25, 0.11)
CIE-LCHlch(32.57, 45.25, 0.14°)
OKLaboklab(43.68% 0.1387 0.0008)
OKLCHoklch(43.68% 0.139 0.3)
XYZxyz(12.5504, 7.3411, 7.9623)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A264E #268A62
analogous
#8A2680 #8A264E #8A3026
triadic
#8A264E #4E8A26 #264E8A
tetradic
#8A264E #808A26 #268A62 #30268A
square
#8A264E #808A26 #268A62 #30268A
split-complementary
#8A264E #268A30 #26808A
monochromatic
#2A0C18 #5A1933 #8A264E #BA3369 #D15989

Accessibility & contrast

On white

8.51
#8A264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A264E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A264E#FFFFFF#000000##FFFFFF
##8A264E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404F
Deuteranopia (green-blind)
#56544C
Tritanopia (blue-blind)
#961837
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a264e;
/* rgb */ color: rgb(138, 38, 78);
/* oklch */ color: oklch(43.7% 0.139 0.3);
Tailwind
colors: {
  custom: {
    50: '#b1697f',
    500: '#8a264e',
    950: '#000000',
  },
}
SCSS
$custom: #8a264e;
$custom-light: #b1697f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a264e",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 336,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.13869,
    "h": 0.3
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A264E

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

Preview Lab → · Contrast checker → · Palette generator →

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