#8A2F6F#8A2F6F

#8A2F6F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.144 H 341.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8A2F6F
RGBrgb(138, 47, 111)
HSLhsl(318, 49%, 36%)
HSVhsv(318, 66%, 54%)
CMYKcmyk(0%, 65.9%, 19.6%, 45.9%)
CIE-LABlab(35.17, 45.77, -17.17)
CIE-LCHlch(35.17, 48.89, 339.44°)
OKLaboklab(46.01% 0.1365 -0.0461)
OKLCHoklch(46.01% 0.144 341.3)
XYZxyz(14.3674, 8.5853, 15.9363)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F6F #2F8A4A
analogous
#782F8A #8A2F6F #8A2F42
triadic
#8A2F6F #6F8A2F #2F6F8A
tetradic
#8A2F6F #8A782F #2F8A4A #2F428A
square
#8A2F6F #8A782F #2F8A4A #2F428A
split-complementary
#8A2F6F #428A2F #2F8A78
monochromatic
#2F1026 #5C1F4A #8A2F6F #B83F94 #CC68AE

Accessibility & contrast

On white

7.73
#8A2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F6F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F6F#FFFFFF#000000##FFFFFF
##8A2F6F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#51586D
Tritanopia (blue-blind)
#92304A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2f6f;
/* rgb */ color: rgb(138, 47, 111);
/* oklch */ color: oklch(46.0% 0.144 341.3);
Tailwind
colors: {
  custom: {
    50: '#af6e98',
    500: '#8a2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f6f;
$custom-light: #af6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f6f",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 317.802,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.14405,
    "h": 341.3
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#8A2F6F
secondary
#62B37A
accent
#D9784F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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