#8A3078#8A3078

#8A3078 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.149 H 336.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8A3078
RGBrgb(138, 48, 120)
HSLhsl(312, 48%, 36%)
HSVhsv(312, 65%, 54%)
CMYKcmyk(0%, 65.2%, 13%, 45.9%)
CIE-LABlab(35.74, 46.75, -21.95)
CIE-LCHlch(35.74, 51.64, 334.85°)
OKLaboklab(46.56% 0.1369 -0.0596)
OKLCHoklch(46.56% 0.149 336.5)
XYZxyz(14.9285, 8.8745, 18.6924)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3078 #308A42
analogous
#6F308A #8A3078 #8A304B
triadic
#8A3078 #788A30 #30788A
tetradic
#8A3078 #8A6F30 #308A42 #304B8A
square
#8A3078 #8A6F30 #308A42 #304B8A
split-complementary
#8A3078 #4B8A30 #308A6F
monochromatic
#2F1029 #5D2051 #8A3078 #B7409F #CB69B7

Accessibility & contrast

On white

7.57
#8A3078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A3078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3078
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3078#FFFFFF#000000##FFFFFF
##8A30781.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B7A
Deuteranopia (green-blind)
#4E5976
Tritanopia (blue-blind)
#91354F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3078;
/* rgb */ color: rgb(138, 48, 120);
/* oklch */ color: oklch(46.6% 0.149 336.5);
Tailwind
colors: {
  custom: {
    50: '#af6f9f',
    500: '#8a3078',
    950: '#000000',
  },
}
SCSS
$custom: #8a3078;
$custom-light: #af6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3078",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 312,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.14925,
    "h": 336.5
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#8A3078
secondary
#64B273
accent
#D86B50
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3078

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

Preview Lab → · Contrast checker → · Palette generator →

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