#8A305A#8A305A

#8A305A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.2% C 0.130 H 354.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8A305A
RGBrgb(138, 48, 90)
HSLhsl(332, 48%, 36%)
HSVhsv(332, 65%, 54%)
CMYKcmyk(0%, 65.2%, 34.8%, 45.9%)
CIE-LABlab(34.51, 42.41, -4.80)
CIE-LCHlch(34.51, 42.68, 353.54°)
OKLaboklab(45.25% 0.1294 -0.0121)
OKLCHoklch(45.25% 0.13 354.6)
XYZxyz(13.3844, 8.2568, 10.5597)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A305A #308A60
analogous
#8A3087 #8A305A #8A3330
triadic
#8A305A #5A8A30 #305A8A
tetradic
#8A305A #878A30 #308A60 #33308A
square
#8A305A #878A30 #308A60 #33308A
split-complementary
#8A305A #308A33 #30878A
monochromatic
#2F101F #5D203C #8A305A #B74078 #CB6997

Accessibility & contrast

On white

7.92
#8A305A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A305A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A305A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A305A#FFFFFF#000000##FFFFFF
##8A305A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475B
Deuteranopia (green-blind)
#575758
Tritanopia (blue-blind)
#952A41
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a305a;
/* rgb */ color: rgb(138, 48, 90);
/* oklch */ color: oklch(45.2% 0.130 354.6);
Tailwind
colors: {
  custom: {
    50: '#b06e88',
    500: '#8a305a',
    950: '#000000',
  },
}
SCSS
$custom: #8a305a;
$custom-light: #b06e88;
$custom-dark: #000000;
JSON
{
  "hex": "#8a305a",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 332,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.12999,
    "h": 354.6
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#8A305A
secondary
#64B28E
accent
#D89850
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A305A

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

Preview Lab → · Contrast checker → · Palette generator →

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