#8A2264#8A2264

#8A2264 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.154 H 346.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8A2264
RGBrgb(138, 34, 100)
HSLhsl(322, 60%, 34%)
HSVhsv(322, 75%, 54%)
CMYKcmyk(0%, 75.4%, 27.5%, 45.9%)
CIE-LABlab(32.85, 49.37, -13.73)
CIE-LCHlch(32.85, 51.24, 344.46°)
OKLaboklab(44.16% 0.1499 -0.0363)
OKLCHoklch(44.16% 0.154 346.4)
XYZxyz(13.3541, 7.4689, 12.7925)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2264 #228A48
analogous
#7C228A #8A2264 #8A2230
triadic
#8A2264 #648A22 #22648A
tetradic
#8A2264 #8A7C22 #228A48 #22308A
square
#8A2264 #8A7C22 #228A48 #22308A
split-complementary
#8A2264 #308A22 #228A7C
monochromatic
#280A1D #591640 #8A2264 #BB2E88 #D452A5

Accessibility & contrast

On white

8.42
#8A2264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A2264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2264
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2264#FFFFFF#000000##FFFFFF
##8A22641.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304266
Deuteranopia (green-blind)
#4F5462
Tritanopia (blue-blind)
#941F40
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2264;
/* rgb */ color: rgb(138, 34, 100);
/* oklch */ color: oklch(44.2% 0.154 346.4);
Tailwind
colors: {
  custom: {
    50: '#b06890',
    500: '#8a2264',
    950: '#000000',
  },
}
SCSS
$custom: #8a2264;
$custom-light: #b06890;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2264",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 321.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44155,
    "c": 0.15422,
    "h": 346.4
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#8A2264
secondary
#50B876
accent
#E47E44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2264

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

Preview Lab → · Contrast checker → · Palette generator →

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