#8A304F#8A304F

#8A304F is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.9% C 0.126 H 2.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A304F
RGBrgb(138, 48, 79)
HSLhsl(339, 48%, 36%)
HSVhsv(339, 65%, 54%)
CMYKcmyk(0%, 65.2%, 42.8%, 45.9%)
CIE-LABlab(34.16, 41.10, 1.76)
CIE-LCHlch(34.16, 41.14, 2.46°)
OKLaboklab(44.87% 0.1255 0.005)
OKLCHoklch(44.87% 0.126 2.3)
XYZxyz(12.9503, 8.0832, 8.2739)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A304F #308A6B
analogous
#8A307C #8A304F #8A3E30
triadic
#8A304F #4F8A30 #304F8A
tetradic
#8A304F #7C8A30 #308A6B #3E308A
square
#8A304F #7C8A30 #308A6B #3E308A
split-complementary
#8A304F #308A3E #307C8A
monochromatic
#2F101B #5D2035 #8A304F #B74069 #CB698B

Accessibility & contrast

On white

8.03
#8A304F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A304F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A304F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A304F#FFFFFF#000000##FFFFFF
##8A304F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424550
Deuteranopia (green-blind)
#59574D
Tritanopia (blue-blind)
#96263C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a304f;
/* rgb */ color: rgb(138, 48, 79);
/* oklch */ color: oklch(44.9% 0.126 2.3);
Tailwind
colors: {
  custom: {
    50: '#b06e80',
    500: '#8a304f',
    950: '#000000',
  },
}
SCSS
$custom: #8a304f;
$custom-light: #b06e80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a304f",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 339.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44868,
    "c": 0.12564,
    "h": 2.3
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#8A304F
secondary
#64B297
accent
#D8A950
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A304F

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

Preview Lab → · Contrast checker → · Palette generator →

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