#8A3060#8A3060

#8A3060 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.5% C 0.133 H 350.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A3060
RGBrgb(138, 48, 96)
HSLhsl(328, 48%, 36%)
HSVhsv(328, 65%, 54%)
CMYKcmyk(0%, 65.2%, 30.4%, 45.9%)
CIE-LABlab(34.73, 43.19, -8.32)
CIE-LCHlch(34.73, 43.98, 349.10°)
OKLaboklab(45.48% 0.1313 -0.0216)
OKLCHoklch(45.48% 0.133 350.7)
XYZxyz(13.6501, 8.3631, 11.9594)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3060 #308A5A
analogous
#87308A #8A3060 #8A3033
triadic
#8A3060 #608A30 #30608A
tetradic
#8A3060 #8A8730 #308A5A #30338A
square
#8A3060 #8A8730 #308A5A #30338A
split-complementary
#8A3060 #338A30 #308A87
monochromatic
#2F1021 #5D2040 #8A3060 #B74080 #CB699D

Accessibility & contrast

On white

7.86
#8A3060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A3060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3060
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3060#FFFFFF#000000##FFFFFF
##8A30601.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4861
Deuteranopia (green-blind)
#56585E
Tritanopia (blue-blind)
#942C44
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3060;
/* rgb */ color: rgb(138, 48, 96);
/* oklch */ color: oklch(45.5% 0.133 350.7);
Tailwind
colors: {
  custom: {
    50: '#af6e8d',
    500: '#8a3060',
    950: '#000000',
  },
}
SCSS
$custom: #8a3060;
$custom-light: #af6e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3060",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 96
  },
  "hsl": {
    "h": 328,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4548,
    "c": 0.13307,
    "h": 350.7
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#8A3060
secondary
#64B288
accent
#D88F50
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3060

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

Preview Lab → · Contrast checker → · Palette generator →

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