#8A315A#8A315A

#8A315A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.129 H 354.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A315A
RGBrgb(138, 49, 90)
HSLhsl(332, 48%, 37%)
HSVhsv(332, 64%, 54%)
CMYKcmyk(0%, 64.5%, 34.8%, 45.9%)
CIE-LABlab(34.68, 41.95, -4.55)
CIE-LCHlch(34.68, 42.19, 353.81°)
OKLaboklab(45.37% 0.128 -0.0115)
OKLCHoklch(45.37% 0.129 354.9)
XYZxyz(13.4257, 8.3395, 10.5735)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A315A #318A61
analogous
#8A3187 #8A315A #8A3531
triadic
#8A315A #5A8A31 #315A8A
tetradic
#8A315A #878A31 #318A61 #35318A
square
#8A315A #878A31 #318A61 #35318A
split-complementary
#8A315A #318A35 #31878A
monochromatic
#30111F #5D213D #8A315A #B74177 #CA6B97

Accessibility & contrast

On white

7.87
#8A315A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A315A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A315A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A315A#FFFFFF#000000##FFFFFF
##8A315A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F475B
Deuteranopia (green-blind)
#585858
Tritanopia (blue-blind)
#952B41
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a315a;
/* rgb */ color: rgb(138, 49, 90);
/* oklch */ color: oklch(45.4% 0.129 354.9);
Tailwind
colors: {
  custom: {
    50: '#b06f88',
    500: '#8a315a',
    950: '#000000',
  },
}
SCSS
$custom: #8a315a;
$custom-light: #b06f88;
$custom-dark: #000000;
JSON
{
  "hex": "#8a315a",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 332.36,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.1285,
    "h": 354.9
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

primary
#8A315A
secondary
#65B28E
accent
#D79951
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A315A

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

Preview Lab → · Contrast checker → · Palette generator →

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