#8A3073#8A3073

#8A3073 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.145 H 339.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8A3073
RGBrgb(138, 48, 115)
HSLhsl(315, 48%, 36%)
HSVhsv(315, 65%, 54%)
CMYKcmyk(0%, 65.2%, 16.7%, 45.9%)
CIE-LABlab(35.51, 45.95, -19.17)
CIE-LCHlch(35.51, 49.79, 337.36°)
OKLaboklab(46.31% 0.136 -0.0517)
OKLCHoklch(46.31% 0.145 339.2)
XYZxyz(14.6330, 8.7563, 17.1358)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3073 #308A47
analogous
#74308A #8A3073 #8A3046
triadic
#8A3073 #738A30 #30738A
tetradic
#8A3073 #8A7430 #308A47 #30468A
square
#8A3073 #8A7430 #308A47 #30468A
split-complementary
#8A3073 #468A30 #308A74
monochromatic
#2F1027 #5D204D #8A3073 #B74099 #CB69B2

Accessibility & contrast

On white

7.63
#8A3073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A3073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3073
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3073#FFFFFF#000000##FFFFFF
##8A30731.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#92334D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3073;
/* rgb */ color: rgb(138, 48, 115);
/* oklch */ color: oklch(46.3% 0.145 339.2);
Tailwind
colors: {
  custom: {
    50: '#af6f9b',
    500: '#8a3073',
    950: '#000000',
  },
}
SCSS
$custom: #8a3073;
$custom-light: #af6f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3073",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 315.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.14547,
    "h": 339.2
  },
  "luminance": 0.08755
}

Semantic roles & 50–950 ramp

primary
#8A3073
secondary
#64B278
accent
#D87350
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3073

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

Preview Lab → · Contrast checker → · Palette generator →

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