#8A306A#8A306A

#8A306A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.139 H 344.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8A306A
RGBrgb(138, 48, 106)
HSLhsl(321, 48%, 36%)
HSVhsv(321, 65%, 54%)
CMYKcmyk(0%, 65.2%, 23.2%, 45.9%)
CIE-LABlab(35.12, 44.59, -14.09)
CIE-LCHlch(35.12, 46.76, 342.47°)
OKLaboklab(45.9% 0.134 -0.0375)
OKLCHoklch(45.9% 0.139 344.4)
XYZxyz(14.1402, 8.5591, 14.5403)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A306A #308A50
analogous
#7D308A #8A306A #8A303D
triadic
#8A306A #6A8A30 #306A8A
tetradic
#8A306A #8A7D30 #308A50 #303D8A
square
#8A306A #8A7D30 #308A50 #303D8A
split-complementary
#8A306A #3D8A30 #308A7D
monochromatic
#2F1024 #5D2047 #8A306A #B7408D #CB69A8

Accessibility & contrast

On white

7.74
#8A306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A306A
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A306A#FFFFFF#000000##FFFFFF
##8A306A1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496C
Deuteranopia (green-blind)
#535868
Tritanopia (blue-blind)
#932F48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a306a;
/* rgb */ color: rgb(138, 48, 106);
/* oklch */ color: oklch(45.9% 0.139 344.4);
Tailwind
colors: {
  custom: {
    50: '#af6e94',
    500: '#8a306a',
    950: '#000000',
  },
}
SCSS
$custom: #8a306a;
$custom-light: #af6e94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a306a",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 321.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.13915,
    "h": 344.4
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#8A306A
secondary
#64B280
accent
#D88050
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A306A

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

Preview Lab → · Contrast checker → · Palette generator →

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