#8A2259#8A2259

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

Color values

HEX#8A2259
RGBrgb(138, 34, 89)
HSLhsl(328, 60%, 34%)
HSVhsv(328, 75%, 54%)
CMYKcmyk(0%, 75.4%, 35.5%, 45.9%)
CIE-LABlab(32.41, 47.99, -7.29)
CIE-LCHlch(32.41, 48.54, 351.36°)
OKLaboklab(43.69% 0.147 -0.0187)
OKLCHoklch(43.69% 0.148 352.7)
XYZxyz(12.8572, 7.2701, 10.1755)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2259 #228A53
analogous
#87228A #8A2259 #8A2225
triadic
#8A2259 #598A22 #22598A
tetradic
#8A2259 #8A8722 #228A53 #22258A
square
#8A2259 #8A8722 #228A53 #22258A
split-complementary
#8A2259 #258A22 #228A87
monochromatic
#280A1A #591639 #8A2259 #BB2E79 #D45297

Accessibility & contrast

On white

8.56
#8A2259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A2259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2259
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2259#FFFFFF#000000##FFFFFF
##8A22591.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35405A
Deuteranopia (green-blind)
#525357
Tritanopia (blue-blind)
#95193A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2259;
/* rgb */ color: rgb(138, 34, 89);
/* oklch */ color: oklch(43.7% 0.148 352.7);
Tailwind
colors: {
  custom: {
    50: '#b06787',
    500: '#8a2259',
    950: '#000000',
  },
}
SCSS
$custom: #8a2259;
$custom-light: #b06787;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2259",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 328.269,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43693,
    "c": 0.14822,
    "h": 352.7
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#8A2259
secondary
#50B881
accent
#E48F44
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2259

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

Preview Lab → · Contrast checker → · Palette generator →

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