#8A2470#8A2470

#8A2470 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.160 H 340.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A2470
RGBrgb(138, 36, 112)
HSLhsl(315, 59%, 34%)
HSVhsv(315, 74%, 54%)
CMYKcmyk(0%, 73.9%, 18.8%, 45.9%)
CIE-LABlab(33.64, 50.33, -20.17)
CIE-LCHlch(33.64, 54.22, 338.16°)
OKLaboklab(44.9% 0.15 -0.0544)
OKLCHoklch(44.9% 0.16 340.1)
XYZxyz(14.0371, 7.8362, 16.0994)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2470 #248A3E
analogous
#71248A #8A2470 #8A243D
triadic
#8A2470 #708A24 #24708A
tetradic
#8A2470 #8A7124 #248A3E #243D8A
square
#8A2470 #8A7124 #248A3E #243D8A
split-complementary
#8A2470 #3D8A24 #248A71
monochromatic
#290B21 #591749 #8A2470 #BB3197 #D356B3

Accessibility & contrast

On white

8.18
#8A2470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2470
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2470#FFFFFF#000000##FFFFFF
##8A24701.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2470;
/* rgb */ color: rgb(138, 36, 112);
/* oklch */ color: oklch(44.9% 0.160 340.1);
Tailwind
colors: {
  custom: {
    50: '#b06999',
    500: '#8a2470',
    950: '#000000',
  },
}
SCSS
$custom: #8a2470;
$custom-light: #b06999;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2470",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 315.294,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.15957,
    "h": 340.1
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#8A2470
secondary
#53B76C
accent
#E26E46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2470

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

Preview Lab → · Contrast checker → · Palette generator →

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