#8A2F73#8A2F73

#8A2F73 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.147 H 339.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8A2F73
RGBrgb(138, 47, 115)
HSLhsl(315, 49%, 36%)
HSVhsv(315, 66%, 54%)
CMYKcmyk(0%, 65.9%, 16.7%, 45.9%)
CIE-LABlab(35.35, 46.39, -19.41)
CIE-LCHlch(35.35, 50.29, 337.29°)
OKLaboklab(46.2% 0.1373 -0.0524)
OKLCHoklch(46.2% 0.147 339.1)
XYZxyz(14.5926, 8.6754, 17.1223)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F73 #2F8A46
analogous
#742F8A #8A2F73 #8A2F46
triadic
#8A2F73 #738A2F #2F738A
tetradic
#8A2F73 #8A742F #2F8A46 #2F468A
square
#8A2F73 #8A742F #2F8A46 #2F468A
split-complementary
#8A2F73 #468A2F #2F8A74
monochromatic
#2F1027 #5C1F4D #8A2F73 #B83F99 #CC68B2

Accessibility & contrast

On white

7.68
#8A2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F73
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F73#FFFFFF#000000##FFFFFF
##8A2F731.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A75
Deuteranopia (green-blind)
#4F5871
Tritanopia (blue-blind)
#92324C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2f73;
/* rgb */ color: rgb(138, 47, 115);
/* oklch */ color: oklch(46.2% 0.147 339.1);
Tailwind
colors: {
  custom: {
    50: '#af6e9b',
    500: '#8a2f73',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f73;
$custom-light: #af6e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f73",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 315.165,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46196,
    "c": 0.14694,
    "h": 339.1
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#8A2F73
secondary
#62B377
accent
#D9724F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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