#8A2473#8A2473

#8A2473 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.162 H 338.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8A2473
RGBrgb(138, 36, 115)
HSLhsl(314, 59%, 34%)
HSVhsv(314, 74%, 54%)
CMYKcmyk(0%, 73.9%, 16.7%, 45.9%)
CIE-LABlab(33.78, 50.77, -21.85)
CIE-LCHlch(33.78, 55.27, 336.72°)
OKLaboklab(45.05% 0.1504 -0.0592)
OKLCHoklch(45.05% 0.162 338.5)
XYZxyz(14.2069, 7.9042, 16.9938)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2473 #248A3B
analogous
#6E248A #8A2473 #8A2440
triadic
#8A2473 #738A24 #24738A
tetradic
#8A2473 #8A6E24 #248A3B #24408A
square
#8A2473 #8A6E24 #248A3B #24408A
split-complementary
#8A2473 #408A24 #248A6E
monochromatic
#290B22 #59174B #8A2473 #BB319B #D356B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2473#FFFFFF#000000##FFFFFF
##8A24731.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)
#294575
Deuteranopia (green-blind)
#4B5571
Tritanopia (blue-blind)
#922948
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2473;
/* rgb */ color: rgb(138, 36, 115);
/* oklch */ color: oklch(45.1% 0.162 338.5);
Tailwind
colors: {
  custom: {
    50: '#b0699b',
    500: '#8a2473',
    950: '#000000',
  },
}
SCSS
$custom: #8a2473;
$custom-light: #b0699b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2473",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 313.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45053,
    "c": 0.16167,
    "h": 338.5
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#8A2473
secondary
#53B769
accent
#E26946
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2473

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

Preview Lab → · Contrast checker → · Palette generator →

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