#8A304C#8A304C

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

Color values

HEX#8A304C
RGBrgb(138, 48, 76)
HSLhsl(341, 48%, 36%)
HSVhsv(341, 65%, 54%)
CMYKcmyk(0%, 65.2%, 44.9%, 45.9%)
CIE-LABlab(34.07, 40.77, 3.57)
CIE-LCHlch(34.07, 40.93, 5.01°)
OKLaboklab(44.77% 0.1244 0.0097)
OKLCHoklch(44.77% 0.125 4.4)
XYZxyz(12.8436, 8.0405, 7.7117)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A304C #308A6E
analogous
#8A3079 #8A304C #8A4130
triadic
#8A304C #4C8A30 #304C8A
tetradic
#8A304C #798A30 #308A6E #41308A
square
#8A304C #798A30 #308A6E #41308A
split-complementary
#8A304C #308A41 #30798A
monochromatic
#2F101A #5D2033 #8A304C #B74065 #CB6988

Accessibility & contrast

On white

8.05
#8A304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A304C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A304C#FFFFFF#000000##FFFFFF
##8A304C1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a304c;
/* rgb */ color: rgb(138, 48, 76);
/* oklch */ color: oklch(44.8% 0.125 4.4);
Tailwind
colors: {
  custom: {
    50: '#b06e7d',
    500: '#8a304c',
    950: '#000000',
  },
}
SCSS
$custom: #8a304c;
$custom-light: #b06e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a304c",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 341.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44773,
    "c": 0.12476,
    "h": 4.4
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#8A304C
secondary
#64B29A
accent
#D8AE50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A304C

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

Preview Lab → · Contrast checker → · Palette generator →

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