#8A2254#8A2254

#8A2254 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.146 H 355.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8A2254
RGBrgb(138, 34, 84)
HSLhsl(331, 60%, 34%)
HSVhsv(331, 75%, 54%)
CMYKcmyk(0%, 75.4%, 39.1%, 45.9%)
CIE-LABlab(32.23, 47.41, -4.30)
CIE-LCHlch(32.23, 47.60, 354.81°)
OKLaboklab(43.5% 0.1455 -0.0107)
OKLCHoklch(43.5% 0.146 355.8)
XYZxyz(12.6543, 7.1890, 9.1070)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2254 #228A58
analogous
#8A2288 #8A2254 #8A2422
triadic
#8A2254 #548A22 #22548A
tetradic
#8A2254 #888A22 #228A58 #24228A
square
#8A2254 #888A22 #228A58 #24228A
split-complementary
#8A2254 #228A24 #22888A
monochromatic
#280A18 #591636 #8A2254 #BB2E72 #D45291

Accessibility & contrast

On white

8.62
#8A2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A2254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2254
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2254#FFFFFF#000000##FFFFFF
##8A22541.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F55
Deuteranopia (green-blind)
#535352
Tritanopia (blue-blind)
#951638
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2254;
/* rgb */ color: rgb(138, 34, 84);
/* oklch */ color: oklch(43.5% 0.146 355.8);
Tailwind
colors: {
  custom: {
    50: '#b16784',
    500: '#8a2254',
    950: '#000000',
  },
}
SCSS
$custom: #8a2254;
$custom-light: #b16784;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2254",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 331.154,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.1459,
    "h": 355.8
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#8A2254
secondary
#50B886
accent
#E49744
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A2254

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

Preview Lab → · Contrast checker → · Palette generator →

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