#8A3062#8A3062

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

Color values

HEX#8A3062
RGBrgb(138, 48, 98)
HSLhsl(327, 48%, 36%)
HSVhsv(327, 65%, 54%)
CMYKcmyk(0%, 65.2%, 29%, 45.9%)
CIE-LABlab(34.80, 43.46, -9.48)
CIE-LCHlch(34.80, 44.48, 347.69°)
OKLaboklab(45.56% 0.1319 -0.0248)
OKLCHoklch(45.56% 0.134 349.4)
XYZxyz(13.7434, 8.4004, 12.4506)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3062 #308A58
analogous
#85308A #8A3062 #8A3035
triadic
#8A3062 #628A30 #30628A
tetradic
#8A3062 #8A8530 #308A58 #30358A
square
#8A3062 #8A8530 #308A58 #30358A
split-complementary
#8A3062 #358A30 #308A85
monochromatic
#2F1022 #5D2042 #8A3062 #B74082 #CB69A0

Accessibility & contrast

On white

7.84
#8A3062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3062
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3062#FFFFFF#000000##FFFFFF
##8A30621.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4863
Deuteranopia (green-blind)
#555860
Tritanopia (blue-blind)
#942C45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3062;
/* rgb */ color: rgb(138, 48, 98);
/* oklch */ color: oklch(45.6% 0.134 349.4);
Tailwind
colors: {
  custom: {
    50: '#af6e8e',
    500: '#8a3062',
    950: '#000000',
  },
}
SCSS
$custom: #8a3062;
$custom-light: #af6e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3062",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 98
  },
  "hsl": {
    "h": 326.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4556,
    "c": 0.13419,
    "h": 349.4
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#8A3062
secondary
#64B287
accent
#D88C50
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3062

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

Preview Lab → · Contrast checker → · Palette generator →

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