#8A304B#8A304B

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

Color values

HEX#8A304B
RGBrgb(138, 48, 75)
HSLhsl(342, 48%, 36%)
HSVhsv(342, 65%, 54%)
CMYKcmyk(0%, 65.2%, 45.7%, 45.9%)
CIE-LABlab(34.04, 40.67, 4.18)
CIE-LCHlch(34.04, 40.88, 5.87°)
OKLaboklab(44.74% 0.124 0.0112)
OKLCHoklch(44.74% 0.125 5.2)
XYZxyz(12.8091, 8.0267, 7.5300)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A304B #308A6F
analogous
#8A3078 #8A304B #8A4230
triadic
#8A304B #4B8A30 #304B8A
tetradic
#8A304B #788A30 #308A6F #42308A
square
#8A304B #788A30 #308A6F #42308A
split-complementary
#8A304B #308A42 #30788A
monochromatic
#2F101A #5D2032 #8A304B #B74064 #CB6987

Accessibility & contrast

On white

8.06
#8A304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A304B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A304B#FFFFFF#000000##FFFFFF
##8A304B1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a304b;
/* rgb */ color: rgb(138, 48, 75);
/* oklch */ color: oklch(44.7% 0.125 5.2);
Tailwind
colors: {
  custom: {
    50: '#b06e7d',
    500: '#8a304b',
    950: '#000000',
  },
}
SCSS
$custom: #8a304b;
$custom-light: #b06e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a304b",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 342,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.12451,
    "h": 5.2
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#8A304B
secondary
#64B29B
accent
#D8AF50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A304B

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

Preview Lab → · Contrast checker → · Palette generator →

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