#8A2474#8A2474

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

Color values

HEX#8A2474
RGBrgb(138, 36, 116)
HSLhsl(313, 59%, 34%)
HSVhsv(313, 74%, 54%)
CMYKcmyk(0%, 73.9%, 15.9%, 45.9%)
CIE-LABlab(33.83, 50.92, -22.41)
CIE-LCHlch(33.83, 55.63, 336.25°)
OKLaboklab(45.1% 0.1506 -0.0608)
OKLCHoklch(45.1% 0.162 338)
XYZxyz(14.2648, 7.9273, 17.2985)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2474 #248A3A
analogous
#6D248A #8A2474 #8A2441
triadic
#8A2474 #748A24 #24748A
tetradic
#8A2474 #8A6D24 #248A3A #24418A
square
#8A2474 #8A6D24 #248A3A #24418A
split-complementary
#8A2474 #418A24 #248A6D
monochromatic
#290B22 #59174B #8A2474 #BB319D #D356B8

Accessibility & contrast

On white

8.12
#8A2474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2474
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2474#FFFFFF#000000##FFFFFF
##8A24741.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284576
Deuteranopia (green-blind)
#4A5572
Tritanopia (blue-blind)
#922949
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2474;
/* rgb */ color: rgb(138, 36, 116);
/* oklch */ color: oklch(45.1% 0.162 338.0);
Tailwind
colors: {
  custom: {
    50: '#b0699c',
    500: '#8a2474',
    950: '#000000',
  },
}
SCSS
$custom: #8a2474;
$custom-light: #b0699c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2474",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 312.941,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.16238,
    "h": 338
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#8A2474
secondary
#53B768
accent
#E26846
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2474

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

Preview Lab → · Contrast checker → · Palette generator →

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