#8A3051#8A3051

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

Color values

HEX#8A3051
RGBrgb(138, 48, 81)
HSLhsl(338, 48%, 36%)
HSVhsv(338, 65%, 54%)
CMYKcmyk(0%, 65.2%, 41.3%, 45.9%)
CIE-LABlab(34.22, 41.32, 0.56)
CIE-LCHlch(34.22, 41.33, 0.78°)
OKLaboklab(44.93% 0.1263 0.002)
OKLCHoklch(44.93% 0.126 0.9)
XYZxyz(13.0242, 8.1128, 8.6630)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3051 #308A69
analogous
#8A307E #8A3051 #8A3C30
triadic
#8A3051 #518A30 #30518A
tetradic
#8A3051 #7E8A30 #308A69 #3C308A
square
#8A3051 #7E8A30 #308A69 #3C308A
split-complementary
#8A3051 #308A3C #307E8A
monochromatic
#2F101C #5D2036 #8A3051 #B7406C #CB698D

Accessibility & contrast

On white

8.01
#8A3051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3051
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3051#FFFFFF#000000##FFFFFF
##8A30511.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414652
Deuteranopia (green-blind)
#59574F
Tritanopia (blue-blind)
#95263D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a3051;
/* rgb */ color: rgb(138, 48, 81);
/* oklch */ color: oklch(44.9% 0.126 0.9);
Tailwind
colors: {
  custom: {
    50: '#b06e81',
    500: '#8a3051',
    950: '#000000',
  },
}
SCSS
$custom: #8a3051;
$custom-light: #b06e81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3051",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 81
  },
  "hsl": {
    "h": 338,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.1263,
    "h": 0.9
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#8A3051
secondary
#64B295
accent
#D8A650
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A3051

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

Preview Lab → · Contrast checker → · Palette generator →

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