#8A2575#8A2575

#8A2575 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.162 H 337.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A2575
RGBrgb(138, 37, 117)
HSLhsl(312, 58%, 34%)
HSVhsv(312, 73%, 54%)
CMYKcmyk(0%, 73.2%, 15.2%, 45.9%)
CIE-LABlab(34.01, 50.71, -22.76)
CIE-LCHlch(34.01, 55.59, 335.83°)
OKLaboklab(45.25% 0.1496 -0.0618)
OKLCHoklch(45.25% 0.162 337.6)
XYZxyz(14.3540, 8.0121, 17.6167)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2575 #258A3A
analogous
#6D258A #8A2575 #8A2543
triadic
#8A2575 #758A25 #25758A
tetradic
#8A2575 #8A6D25 #258A3A #25438A
square
#8A2575 #8A6D25 #258A3A #25438A
split-complementary
#8A2575 #438A25 #258A6D
monochromatic
#290B23 #5A184C #8A2575 #BA329E #D257B9

Accessibility & contrast

On white

8.07
#8A2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2575
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2575#FFFFFF#000000##FFFFFF
##8A25751.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294677
Deuteranopia (green-blind)
#4A5673
Tritanopia (blue-blind)
#922A4A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2575;
/* rgb */ color: rgb(138, 37, 117);
/* oklch */ color: oklch(45.2% 0.162 337.6);
Tailwind
colors: {
  custom: {
    50: '#af699d',
    500: '#8a2575',
    950: '#000000',
  },
}
SCSS
$custom: #8a2575;
$custom-light: #af699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2575",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 312.475,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.16188,
    "h": 337.6
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#8A2575
secondary
#54B769
accent
#E16747
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2575

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

Preview Lab → · Contrast checker → · Palette generator →

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