#8A285F#8A285F

#8A285F is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.144 H 350.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8A285F
RGBrgb(138, 40, 95)
HSLhsl(326, 55%, 35%)
HSVhsv(326, 71%, 54%)
CMYKcmyk(0%, 71%, 31.2%, 45.9%)
CIE-LABlab(33.45, 46.46, -9.60)
CIE-LCHlch(33.45, 47.44, 348.33°)
OKLaboklab(44.53% 0.1416 -0.025)
OKLCHoklch(44.53% 0.144 350)
XYZxyz(13.3063, 7.7485, 11.6191)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A285F #288A53
analogous
#84288A #8A285F #8A282E
triadic
#8A285F #5F8A28 #285F8A
tetradic
#8A285F #8A8428 #288A53 #282E8A
square
#8A285F #8A8428 #288A53 #282E8A
split-complementary
#8A285F #2E8A28 #288A84
monochromatic
#2B0C1E #5B1A3E #8A285F #B93680 #D05D9D

Accessibility & contrast

On white

8.24
#8A285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A285F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A285F#FFFFFF#000000##FFFFFF
##8A285F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#53555D
Tritanopia (blue-blind)
#942340
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a285f;
/* rgb */ color: rgb(138, 40, 95);
/* oklch */ color: oklch(44.5% 0.144 350.0);
Tailwind
colors: {
  custom: {
    50: '#b06a8c',
    500: '#8a285f',
    950: '#000000',
  },
}
SCSS
$custom: #8a285f;
$custom-light: #b06a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a285f",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 326.327,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.14381,
    "h": 350
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#8A285F
secondary
#59B581
accent
#DE8B49
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A285F

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

Preview Lab → · Contrast checker → · Palette generator →

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