#8A304A#8A304A

#8A304A is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.7% C 0.124 H 5.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A304A
RGBrgb(138, 48, 74)
HSLhsl(343, 48%, 36%)
HSVhsv(343, 65%, 54%)
CMYKcmyk(0%, 65.2%, 46.4%, 45.9%)
CIE-LABlab(34.01, 40.56, 4.79)
CIE-LCHlch(34.01, 40.84, 6.73°)
OKLaboklab(44.71% 0.1236 0.0127)
OKLCHoklch(44.71% 0.124 5.9)
XYZxyz(12.7752, 8.0131, 7.3512)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A304A #308A70
analogous
#8A3077 #8A304A #8A4330
triadic
#8A304A #4A8A30 #304A8A
tetradic
#8A304A #778A30 #308A70 #43308A
square
#8A304A #778A30 #308A70 #43308A
split-complementary
#8A304A #308A43 #30778A
monochromatic
#2F1019 #5D2032 #8A304A #B74062 #CB6986

Accessibility & contrast

On white

8.07
#8A304A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A304A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A304A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A304A#FFFFFF#000000##FFFFFF
##8A304A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43454B
Deuteranopia (green-blind)
#5A5748
Tritanopia (blue-blind)
#96243A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a304a;
/* rgb */ color: rgb(138, 48, 74);
/* oklch */ color: oklch(44.7% 0.124 5.9);
Tailwind
colors: {
  custom: {
    50: '#b06e7c',
    500: '#8a304a',
    950: '#000000',
  },
}
SCSS
$custom: #8a304a;
$custom-light: #b06e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a304a",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 342.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44712,
    "c": 0.12427,
    "h": 5.9
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#8A304A
secondary
#64B29C
accent
#D8B150
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A304A

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

Preview Lab → · Contrast checker → · Palette generator →

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