#8A285D#8A285D

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

Color values

HEX#8A285D
RGBrgb(138, 40, 93)
HSLhsl(328, 55%, 35%)
HSVhsv(328, 71%, 54%)
CMYKcmyk(0%, 71%, 32.6%, 45.9%)
CIE-LABlab(33.38, 46.21, -8.43)
CIE-LCHlch(33.38, 46.97, 349.66°)
OKLaboklab(44.45% 0.141 -0.0218)
OKLCHoklch(44.45% 0.143 351.2)
XYZxyz(13.2165, 7.7126, 11.1465)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A285D #288A55
analogous
#86288A #8A285D #8A282C
triadic
#8A285D #5D8A28 #285D8A
tetradic
#8A285D #8A8628 #288A55 #282C8A
square
#8A285D #8A8628 #288A55 #282C8A
split-complementary
#8A285D #2C8A28 #288A86
monochromatic
#2B0C1D #5B1A3D #8A285D #B9367D #D05D9B

Accessibility & contrast

On white

8.26
#8A285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A285D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A285D#FFFFFF#000000##FFFFFF
##8A285D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435E
Deuteranopia (green-blind)
#53555B
Tritanopia (blue-blind)
#94223F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a285d;
/* rgb */ color: rgb(138, 40, 93);
/* oklch */ color: oklch(44.4% 0.143 351.2);
Tailwind
colors: {
  custom: {
    50: '#b06a8a',
    500: '#8a285d',
    950: '#000000',
  },
}
SCSS
$custom: #8a285d;
$custom-light: #b06a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a285d",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 327.551,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.14272,
    "h": 351.2
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#8A285D
secondary
#59B583
accent
#DE8E49
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A285D

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

Preview Lab → · Contrast checker → · Palette generator →

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