#8A2266#8A2266

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

Color values

HEX#8A2266
RGBrgb(138, 34, 102)
HSLhsl(321, 60%, 34%)
HSVhsv(321, 75%, 54%)
CMYKcmyk(0%, 75.4%, 26.1%, 45.9%)
CIE-LABlab(32.94, 49.63, -14.88)
CIE-LCHlch(32.94, 51.82, 343.31°)
OKLaboklab(44.25% 0.1503 -0.0396)
OKLCHoklch(44.25% 0.155 345.3)
XYZxyz(13.4521, 7.5081, 13.3086)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2266 #228A46
analogous
#7A228A #8A2266 #8A2232
triadic
#8A2266 #668A22 #22668A
tetradic
#8A2266 #8A7A22 #228A46 #22328A
square
#8A2266 #8A7A22 #228A46 #22328A
split-complementary
#8A2266 #328A22 #228A7A
monochromatic
#280A1D #591642 #8A2266 #BB2E8A #D452A7

Accessibility & contrast

On white

8.40
#8A2266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A2266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2266
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2266#FFFFFF#000000##FFFFFF
##8A22661.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4268
Deuteranopia (green-blind)
#4E5464
Tritanopia (blue-blind)
#942041
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2266;
/* rgb */ color: rgb(138, 34, 102);
/* oklch */ color: oklch(44.2% 0.155 345.3);
Tailwind
colors: {
  custom: {
    50: '#b06891',
    500: '#8a2266',
    950: '#000000',
  },
}
SCSS
$custom: #8a2266;
$custom-light: #b06891;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2266",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 320.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44245,
    "c": 0.15544,
    "h": 345.3
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#8A2266
secondary
#50B874
accent
#E47B44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #8A2266

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

Preview Lab → · Contrast checker → · Palette generator →

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