#8A3054#8A3054

#8A3054 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.0% C 0.127 H 358.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A3054
RGBrgb(138, 48, 84)
HSLhsl(336, 48%, 36%)
HSVhsv(336, 65%, 54%)
CMYKcmyk(0%, 65.2%, 39.1%, 45.9%)
CIE-LABlab(34.31, 41.67, -1.24)
CIE-LCHlch(34.31, 41.69, 358.30°)
OKLaboklab(45.04% 0.1274 -0.0027)
OKLCHoklch(45.04% 0.127 358.8)
XYZxyz(13.1392, 8.1588, 9.2686)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3054 #308A66
analogous
#8A3081 #8A3054 #8A3930
triadic
#8A3054 #548A30 #30548A
tetradic
#8A3054 #818A30 #308A66 #39308A
square
#8A3054 #818A30 #308A66 #39308A
split-complementary
#8A3054 #308A39 #30818A
monochromatic
#2F101D #5D2038 #8A3054 #B74070 #CB6990

Accessibility & contrast

On white

7.98
#8A3054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A3054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3054
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3054#FFFFFF#000000##FFFFFF
##8A30541.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#585752
Tritanopia (blue-blind)
#95273E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3054;
/* rgb */ color: rgb(138, 48, 84);
/* oklch */ color: oklch(45.0% 0.127 358.8);
Tailwind
colors: {
  custom: {
    50: '#b06e84',
    500: '#8a3054',
    950: '#000000',
  },
}
SCSS
$custom: #8a3054;
$custom-light: #b06e84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3054",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 84
  },
  "hsl": {
    "h": 336,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.1274,
    "h": 358.8
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#8A3054
secondary
#64B293
accent
#D8A250
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A3054

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

Preview Lab → · Contrast checker → · Palette generator →

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