#8A2258#8A2258

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

Color values

HEX#8A2258
RGBrgb(138, 34, 88)
HSLhsl(329, 60%, 34%)
HSVhsv(329, 75%, 54%)
CMYKcmyk(0%, 75.4%, 36.2%, 45.9%)
CIE-LABlab(32.38, 47.87, -6.69)
CIE-LCHlch(32.38, 48.34, 352.04°)
OKLaboklab(43.65% 0.1467 -0.0171)
OKLCHoklch(43.65% 0.148 353.3)
XYZxyz(12.8155, 7.2534, 9.9558)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2258 #228A54
analogous
#88228A #8A2258 #8A2224
triadic
#8A2258 #588A22 #22588A
tetradic
#8A2258 #8A8822 #228A54 #22248A
square
#8A2258 #8A8822 #228A54 #22248A
split-complementary
#8A2258 #248A22 #228A88
monochromatic
#280A19 #591639 #8A2258 #BB2E77 #D45296

Accessibility & contrast

On white

8.57
#8A2258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2258
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2258#FFFFFF#000000##FFFFFF
##8A22581.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354059
Deuteranopia (green-blind)
#525356
Tritanopia (blue-blind)
#95183A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2258;
/* rgb */ color: rgb(138, 34, 88);
/* oklch */ color: oklch(43.7% 0.148 353.3);
Tailwind
colors: {
  custom: {
    50: '#b06787',
    500: '#8a2258',
    950: '#000000',
  },
}
SCSS
$custom: #8a2258;
$custom-light: #b06787;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2258",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 328.846,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43653,
    "c": 0.14773,
    "h": 353.3
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#8A2258
secondary
#50B882
accent
#E49144
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2258

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

Preview Lab → · Contrast checker → · Palette generator →

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