#8A305D#8A305D

#8A305D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.131 H 352.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8A305D
RGBrgb(138, 48, 93)
HSLhsl(330, 48%, 36%)
HSVhsv(330, 65%, 54%)
CMYKcmyk(0%, 65.2%, 32.6%, 45.9%)
CIE-LABlab(34.62, 42.79, -6.56)
CIE-LCHlch(34.62, 43.29, 351.28°)
OKLaboklab(45.36% 0.1304 -0.0169)
OKLCHoklch(45.36% 0.131 352.6)
XYZxyz(13.5146, 8.3089, 11.2459)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A305D #308A5D
analogous
#8A308A #8A305D #8A3030
triadic
#8A305D #5D8A30 #305D8A
tetradic
#8A305D #8A8A30 #308A5D #30308A
square
#8A305D #8A8A30 #308A5D #30308A
split-complementary
#8A305D #308A30 #308A8A
monochromatic
#2F1020 #5D203E #8A305D #B7407C #CB699A

Accessibility & contrast

On white

7.89
#8A305D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A305D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A305D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A305D#FFFFFF#000000##FFFFFF
##8A305D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#56575B
Tritanopia (blue-blind)
#942B42
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a305d;
/* rgb */ color: rgb(138, 48, 93);
/* oklch */ color: oklch(45.4% 0.131 352.6);
Tailwind
colors: {
  custom: {
    50: '#af6e8a',
    500: '#8a305d',
    950: '#000000',
  },
}
SCSS
$custom: #8a305d;
$custom-light: #af6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a305d",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 330,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45363,
    "c": 0.13147,
    "h": 352.6
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#8A305D
secondary
#64B28B
accent
#D89450
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A305D

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

Preview Lab → · Contrast checker → · Palette generator →

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