#8A305E#8A305E

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

Color values

HEX#8A305E
RGBrgb(138, 48, 94)
HSLhsl(329, 48%, 36%)
HSVhsv(329, 65%, 54%)
CMYKcmyk(0%, 65.2%, 31.9%, 45.9%)
CIE-LABlab(34.65, 42.92, -7.15)
CIE-LCHlch(34.65, 43.51, 350.54°)
OKLaboklab(45.4% 0.1307 -0.0184)
OKLCHoklch(45.4% 0.132 352)
XYZxyz(13.5592, 8.3268, 11.4807)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A305E #308A5C
analogous
#89308A #8A305E #8A3031
triadic
#8A305E #5E8A30 #305E8A
tetradic
#8A305E #8A8930 #308A5C #30318A
square
#8A305E #8A8930 #308A5C #30318A
split-complementary
#8A305E #318A30 #308A89
monochromatic
#2F1020 #5D203F #8A305E #B7407D #CB699B

Accessibility & contrast

On white

7.88
#8A305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A305E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A305E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A305E#FFFFFF#000000##FFFFFF
##8A305E1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#56575C
Tritanopia (blue-blind)
#942B43
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a305e;
/* rgb */ color: rgb(138, 48, 94);
/* oklch */ color: oklch(45.4% 0.132 352.0);
Tailwind
colors: {
  custom: {
    50: '#af6e8b',
    500: '#8a305e',
    950: '#000000',
  },
}
SCSS
$custom: #8a305e;
$custom-light: #af6e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a305e",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 329.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45401,
    "c": 0.13198,
    "h": 352
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#8A305E
secondary
#64B28A
accent
#D89250
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A305E

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

Preview Lab → · Contrast checker → · Palette generator →

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