#8A304D#8A304D

#8A304D is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.8% C 0.125 H 3.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A304D
RGBrgb(138, 48, 77)
HSLhsl(341, 48%, 36%)
HSVhsv(341, 65%, 54%)
CMYKcmyk(0%, 65.2%, 44.2%, 45.9%)
CIE-LABlab(34.10, 40.88, 2.97)
CIE-LCHlch(34.10, 40.99, 4.15°)
OKLaboklab(44.8% 0.1248 0.0081)
OKLCHoklch(44.8% 0.125 3.7)
XYZxyz(12.8786, 8.0545, 7.8962)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A304D #308A6D
analogous
#8A307A #8A304D #8A4030
triadic
#8A304D #4D8A30 #304D8A
tetradic
#8A304D #7A8A30 #308A6D #40308A
square
#8A304D #7A8A30 #308A6D #40308A
split-complementary
#8A304D #308A40 #307A8A
monochromatic
#2F101A #5D2034 #8A304D #B74066 #CB6989

Accessibility & contrast

On white

8.04
#8A304D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A304D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A304D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A304D#FFFFFF#000000##FFFFFF
##8A304D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454E
Deuteranopia (green-blind)
#5A574B
Tritanopia (blue-blind)
#96253B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a304d;
/* rgb */ color: rgb(138, 48, 77);
/* oklch */ color: oklch(44.8% 0.125 3.7);
Tailwind
colors: {
  custom: {
    50: '#b06e7e',
    500: '#8a304d',
    950: '#000000',
  },
}
SCSS
$custom: #8a304d;
$custom-light: #b06e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a304d",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 340.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.12504,
    "h": 3.7
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#8A304D
secondary
#64B299
accent
#D8AC50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A304D

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

Preview Lab → · Contrast checker → · Palette generator →

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