#8A2570#8A2570

#8A2570 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.158 H 340.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8A2570
RGBrgb(138, 37, 112)
HSLhsl(315, 58%, 34%)
HSVhsv(315, 73%, 54%)
CMYKcmyk(0%, 73.2%, 18.8%, 45.9%)
CIE-LABlab(33.77, 49.96, -19.97)
CIE-LCHlch(33.77, 53.81, 338.21°)
OKLaboklab(45% 0.1489 -0.0539)
OKLCHoklch(45% 0.158 340.1)
XYZxyz(14.0678, 7.8976, 16.1096)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2570 #258A3F
analogous
#72258A #8A2570 #8A253D
triadic
#8A2570 #708A25 #25708A
tetradic
#8A2570 #8A7225 #258A3F #253D8A
square
#8A2570 #8A7225 #258A3F #253D8A
split-complementary
#8A2570 #3D8A25 #258A72
monochromatic
#290B22 #5A1849 #8A2570 #BA3297 #D257B2

Accessibility & contrast

On white

8.14
#8A2570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2570
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2570#FFFFFF#000000##FFFFFF
##8A25701.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#4C556E
Tritanopia (blue-blind)
#922847
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2570;
/* rgb */ color: rgb(138, 37, 112);
/* oklch */ color: oklch(45.0% 0.158 340.1);
Tailwind
colors: {
  custom: {
    50: '#b06999',
    500: '#8a2570',
    950: '#000000',
  },
}
SCSS
$custom: #8a2570;
$custom-light: #b06999;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2570",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 112
  },
  "hsl": {
    "h": 315.446,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.15834,
    "h": 340.1
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#8A2570
secondary
#54B76E
accent
#E16F47
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2570

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

Preview Lab → · Contrast checker → · Palette generator →

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