#8A3070#8A3070

#8A3070 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.143 H 340.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8A3070
RGBrgb(138, 48, 112)
HSLhsl(317, 48%, 36%)
HSVhsv(317, 65%, 54%)
CMYKcmyk(0%, 65.2%, 18.8%, 45.9%)
CIE-LABlab(35.38, 45.49, -17.49)
CIE-LCHlch(35.38, 48.73, 338.97°)
OKLaboklab(46.17% 0.1354 -0.047)
OKLCHoklch(46.17% 0.143 340.9)
XYZxyz(14.4632, 8.6883, 16.2414)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3070 #308A4A
analogous
#77308A #8A3070 #8A3043
triadic
#8A3070 #708A30 #30708A
tetradic
#8A3070 #8A7730 #308A4A #30438A
square
#8A3070 #8A7730 #308A4A #30438A
split-complementary
#8A3070 #438A30 #308A77
monochromatic
#2F1026 #5D204B #8A3070 #B74095 #CB69AF

Accessibility & contrast

On white

7.67
#8A3070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A3070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3070
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3070#FFFFFF#000000##FFFFFF
##8A30701.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A72
Deuteranopia (green-blind)
#51596E
Tritanopia (blue-blind)
#92324B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3070;
/* rgb */ color: rgb(138, 48, 112);
/* oklch */ color: oklch(46.2% 0.143 340.9);
Tailwind
colors: {
  custom: {
    50: '#af6f99',
    500: '#8a3070',
    950: '#000000',
  },
}
SCSS
$custom: #8a3070;
$custom-light: #af6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3070",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 112
  },
  "hsl": {
    "h": 317.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.14328,
    "h": 340.9
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#8A3070
secondary
#64B27A
accent
#D87750
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3070

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

Preview Lab → · Contrast checker → · Palette generator →

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