#8A2857#8A2857

#8A2857 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.2% C 0.140 H 355.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8A2857
RGBrgb(138, 40, 87)
HSLhsl(331, 55%, 35%)
HSVhsv(331, 71%, 54%)
CMYKcmyk(0%, 71%, 37%, 45.9%)
CIE-LABlab(33.16, 45.47, -4.88)
CIE-LCHlch(33.16, 45.73, 353.88°)
OKLaboklab(44.22% 0.1392 -0.0123)
OKLCHoklch(44.22% 0.14 355)
XYZxyz(12.9611, 7.6105, 9.8014)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2857 #288A5B
analogous
#8A2888 #8A2857 #8A2A28
triadic
#8A2857 #578A28 #28578A
tetradic
#8A2857 #888A28 #288A5B #2A288A
square
#8A2857 #888A28 #288A5B #2A288A
split-complementary
#8A2857 #288A2A #28888A
monochromatic
#2B0C1B #5B1A39 #8A2857 #B93675 #D05D94

Accessibility & contrast

On white

8.33
#8A2857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A2857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2857
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2857#FFFFFF#000000##FFFFFF
##8A28571.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394258
Deuteranopia (green-blind)
#555555
Tritanopia (blue-blind)
#951F3C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2857;
/* rgb */ color: rgb(138, 40, 87);
/* oklch */ color: oklch(44.2% 0.140 355.0);
Tailwind
colors: {
  custom: {
    50: '#b06a86',
    500: '#8a2857',
    950: '#000000',
  },
}
SCSS
$custom: #8a2857;
$custom-light: #b06a86;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2857",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 331.224,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44215,
    "c": 0.13976,
    "h": 355
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#8A2857
secondary
#59B589
accent
#DE9749
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2857

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

Preview Lab → · Contrast checker → · Palette generator →

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