#8A2475#8A2475

#8A2475 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.163 H 337.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8A2475
RGBrgb(138, 36, 117)
HSLhsl(312, 59%, 34%)
HSVhsv(312, 74%, 54%)
CMYKcmyk(0%, 73.9%, 15.2%, 45.9%)
CIE-LABlab(33.88, 51.08, -22.96)
CIE-LCHlch(33.88, 56.00, 335.79°)
OKLaboklab(45.16% 0.1507 -0.0624)
OKLCHoklch(45.16% 0.163 337.5)
XYZxyz(14.3233, 7.9507, 17.6065)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2475 #248A39
analogous
#6C248A #8A2475 #8A2442
triadic
#8A2475 #758A24 #24758A
tetradic
#8A2475 #8A6C24 #248A39 #24428A
square
#8A2475 #8A6C24 #248A39 #24428A
split-complementary
#8A2475 #428A24 #248A6C
monochromatic
#290B23 #59174C #8A2475 #BB319E #D356B9

Accessibility & contrast

On white

8.11
#8A2475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2475
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2475#FFFFFF#000000##FFFFFF
##8A24751.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284677
Deuteranopia (green-blind)
#4A5573
Tritanopia (blue-blind)
#922A49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2475;
/* rgb */ color: rgb(138, 36, 117);
/* oklch */ color: oklch(45.2% 0.163 337.5);
Tailwind
colors: {
  custom: {
    50: '#af699d',
    500: '#8a2475',
    950: '#000000',
  },
}
SCSS
$custom: #8a2475;
$custom-light: #af699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2475",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 312.353,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.1631,
    "h": 337.5
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#8A2475
secondary
#53B767
accent
#E26646
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2475

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

Preview Lab → · Contrast checker → · Palette generator →

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