#8A285E#8A285E

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

Color values

HEX#8A285E
RGBrgb(138, 40, 94)
HSLhsl(327, 55%, 35%)
HSVhsv(327, 71%, 54%)
CMYKcmyk(0%, 71%, 31.9%, 45.9%)
CIE-LABlab(33.42, 46.33, -9.01)
CIE-LCHlch(33.42, 47.20, 348.99°)
OKLaboklab(44.49% 0.1413 -0.0234)
OKLCHoklch(44.49% 0.143 350.6)
XYZxyz(13.2611, 7.7305, 11.3813)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A285E #288A54
analogous
#85288A #8A285E #8A282D
triadic
#8A285E #5E8A28 #285E8A
tetradic
#8A285E #8A8528 #288A54 #282D8A
square
#8A285E #8A8528 #288A54 #282D8A
split-complementary
#8A285E #2D8A28 #288A85
monochromatic
#2B0C1D #5B1A3E #8A285E #B9367E #D05D9C

Accessibility & contrast

On white

8.25
#8A285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A285E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A285E#FFFFFF#000000##FFFFFF
##8A285E1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374360
Deuteranopia (green-blind)
#53555C
Tritanopia (blue-blind)
#94223F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a285e;
/* rgb */ color: rgb(138, 40, 94);
/* oklch */ color: oklch(44.5% 0.143 350.6);
Tailwind
colors: {
  custom: {
    50: '#b06a8b',
    500: '#8a285e',
    950: '#000000',
  },
}
SCSS
$custom: #8a285e;
$custom-light: #b06a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a285e",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 326.939,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.14326,
    "h": 350.6
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#8A285E
secondary
#59B582
accent
#DE8C49
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A285E

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

Preview Lab → · Contrast checker → · Palette generator →

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