#8A3066#8A3066

#8A3066 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.137 H 346.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8A3066
RGBrgb(138, 48, 102)
HSLhsl(324, 48%, 36%)
HSVhsv(324, 65%, 54%)
CMYKcmyk(0%, 65.2%, 26.1%, 45.9%)
CIE-LABlab(34.96, 44.01, -11.80)
CIE-LCHlch(34.96, 45.56, 345.00°)
OKLaboklab(45.73% 0.133 -0.0311)
OKLCHoklch(45.73% 0.137 346.8)
XYZxyz(13.9370, 8.4779, 13.4702)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3066 #308A54
analogous
#81308A #8A3066 #8A3039
triadic
#8A3066 #668A30 #30668A
tetradic
#8A3066 #8A8130 #308A54 #30398A
square
#8A3066 #8A8130 #308A54 #30398A
split-complementary
#8A3066 #398A30 #308A81
monochromatic
#2F1023 #5D2044 #8A3066 #B74088 #CB69A4

Accessibility & contrast

On white

7.79
#8A3066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A3066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3066
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3066#FFFFFF#000000##FFFFFF
##8A30661.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4868
Deuteranopia (green-blind)
#545864
Tritanopia (blue-blind)
#932E46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3066;
/* rgb */ color: rgb(138, 48, 102);
/* oklch */ color: oklch(45.7% 0.137 346.8);
Tailwind
colors: {
  custom: {
    50: '#af6e91',
    500: '#8a3066',
    950: '#000000',
  },
}
SCSS
$custom: #8a3066;
$custom-light: #af6e91;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3066",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 102
  },
  "hsl": {
    "h": 324,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.13658,
    "h": 346.8
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#8A3066
secondary
#64B283
accent
#D88650
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3066

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

Preview Lab → · Contrast checker → · Palette generator →

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