#8A3063#8A3063

#8A3063 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.135 H 348.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A3063
RGBrgb(138, 48, 99)
HSLhsl(326, 48%, 36%)
HSVhsv(326, 65%, 54%)
CMYKcmyk(0%, 65.2%, 28.3%, 45.9%)
CIE-LABlab(34.84, 43.59, -10.06)
CIE-LCHlch(34.84, 44.74, 347.00°)
OKLaboklab(45.6% 0.1322 -0.0264)
OKLCHoklch(45.6% 0.135 348.7)
XYZxyz(13.7909, 8.4194, 12.7008)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3063 #308A57
analogous
#84308A #8A3063 #8A3036
triadic
#8A3063 #638A30 #30638A
tetradic
#8A3063 #8A8430 #308A57 #30368A
square
#8A3063 #8A8430 #308A57 #30368A
split-complementary
#8A3063 #368A30 #308A84
monochromatic
#2F1022 #5D2042 #8A3063 #B74084 #CB69A1

Accessibility & contrast

On white

7.83
#8A3063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A3063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3063
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3063#FFFFFF#000000##FFFFFF
##8A30631.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4865
Deuteranopia (green-blind)
#555861
Tritanopia (blue-blind)
#942D45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3063;
/* rgb */ color: rgb(138, 48, 99);
/* oklch */ color: oklch(45.6% 0.135 348.7);
Tailwind
colors: {
  custom: {
    50: '#af6e8f',
    500: '#8a3063',
    950: '#000000',
  },
}
SCSS
$custom: #8a3063;
$custom-light: #af6e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3063",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 99
  },
  "hsl": {
    "h": 326,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.13477,
    "h": 348.7
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#8A3063
secondary
#64B286
accent
#D88B50
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3063

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

Preview Lab → · Contrast checker → · Palette generator →

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