#8A304E#8A304E

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

Color values

HEX#8A304E
RGBrgb(138, 48, 78)
HSLhsl(340, 48%, 36%)
HSVhsv(340, 65%, 54%)
CMYKcmyk(0%, 65.2%, 43.5%, 45.9%)
CIE-LABlab(34.13, 40.99, 2.37)
CIE-LCHlch(34.13, 41.06, 3.30°)
OKLaboklab(44.84% 0.1252 0.0066)
OKLCHoklch(44.84% 0.125 3)
XYZxyz(12.9142, 8.0688, 8.0836)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A304E #308A6C
analogous
#8A307B #8A304E #8A3F30
triadic
#8A304E #4E8A30 #304E8A
tetradic
#8A304E #7B8A30 #308A6C #3F308A
square
#8A304E #7B8A30 #308A6C #3F308A
split-complementary
#8A304E #308A3F #307B8A
monochromatic
#2F101B #5D2034 #8A304E #B74068 #CB698A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A304E#FFFFFF#000000##FFFFFF
##8A304E1.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)
#42454F
Deuteranopia (green-blind)
#5A574C
Tritanopia (blue-blind)
#96253C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a304e;
/* rgb */ color: rgb(138, 48, 78);
/* oklch */ color: oklch(44.8% 0.125 3.0);
Tailwind
colors: {
  custom: {
    50: '#b06e7f',
    500: '#8a304e',
    950: '#000000',
  },
}
SCSS
$custom: #8a304e;
$custom-light: #b06e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a304e",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 340,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44836,
    "c": 0.12533,
    "h": 3
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#8A304E
secondary
#64B298
accent
#D8AB50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A304E

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

Preview Lab → · Contrast checker → · Palette generator →

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