#8A306D#8A306D

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

Color values

HEX#8A306D
RGBrgb(138, 48, 109)
HSLhsl(319, 48%, 36%)
HSVhsv(319, 65%, 54%)
CMYKcmyk(0%, 65.2%, 21%, 45.9%)
CIE-LABlab(35.25, 45.03, -15.79)
CIE-LCHlch(35.25, 47.72, 340.67°)
OKLaboklab(46.03% 0.1347 -0.0422)
OKLCHoklch(46.03% 0.141 342.6)
XYZxyz(14.2989, 8.6226, 15.3763)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A306D #308A4D
analogous
#7A308A #8A306D #8A3040
triadic
#8A306D #6D8A30 #306D8A
tetradic
#8A306D #8A7A30 #308A4D #30408A
square
#8A306D #8A7A30 #308A4D #30408A
split-complementary
#8A306D #408A30 #308A7A
monochromatic
#2F1025 #5D2049 #8A306D #B74091 #CB69AC

Accessibility & contrast

On white

7.71
#8A306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A306D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A306D#FFFFFF#000000##FFFFFF
##8A306D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496F
Deuteranopia (green-blind)
#52586B
Tritanopia (blue-blind)
#92314A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a306d;
/* rgb */ color: rgb(138, 48, 109);
/* oklch */ color: oklch(46.0% 0.141 342.6);
Tailwind
colors: {
  custom: {
    50: '#af6f97',
    500: '#8a306d',
    950: '#000000',
  },
}
SCSS
$custom: #8a306d;
$custom-light: #af6f97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a306d",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 319.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.14117,
    "h": 342.6
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#8A306D
secondary
#64B27D
accent
#D87C50
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A306D

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

Preview Lab → · Contrast checker → · Palette generator →

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