#8A2F60#8A2F60

#8A2F60 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.135 H 350.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8A2F60
RGBrgb(138, 47, 96)
HSLhsl(328, 49%, 36%)
HSVhsv(328, 66%, 54%)
CMYKcmyk(0%, 65.9%, 30.4%, 45.9%)
CIE-LABlab(34.56, 43.63, -8.57)
CIE-LCHlch(34.56, 44.47, 348.89°)
OKLaboklab(45.36% 0.1327 -0.0223)
OKLCHoklch(45.36% 0.135 350.5)
XYZxyz(13.6097, 8.2823, 11.9460)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F60 #2F8A59
analogous
#872F8A #8A2F60 #8A2F33
triadic
#8A2F60 #608A2F #2F608A
tetradic
#8A2F60 #8A872F #2F8A59 #2F338A
square
#8A2F60 #8A872F #2F8A59 #2F338A
split-complementary
#8A2F60 #338A2F #2F8A87
monochromatic
#2F1020 #5C1F40 #8A2F60 #B83F80 #CC689E

Accessibility & contrast

On white

7.91
#8A2F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F60
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F60#FFFFFF#000000##FFFFFF
##8A2F601.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4761
Deuteranopia (green-blind)
#55575E
Tritanopia (blue-blind)
#942B43
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2f60;
/* rgb */ color: rgb(138, 47, 96);
/* oklch */ color: oklch(45.4% 0.135 350.5);
Tailwind
colors: {
  custom: {
    50: '#af6e8d',
    500: '#8a2f60',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f60;
$custom-light: #af6e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f60",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 327.692,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.13455,
    "h": 350.5
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#8A2F60
secondary
#62B387
accent
#D98F4F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2F60

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

Preview Lab → · Contrast checker → · Palette generator →

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