#8A314D#8A314D

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

Color values

HEX#8A314D
RGBrgb(138, 49, 77)
HSLhsl(341, 48%, 37%)
HSVhsv(341, 64%, 54%)
CMYKcmyk(0%, 64.5%, 44.2%, 45.9%)
CIE-LABlab(34.27, 40.42, 3.22)
CIE-LCHlch(34.27, 40.55, 4.55°)
OKLaboklab(44.93% 0.1233 0.0087)
OKLCHoklch(44.93% 0.124 4.1)
XYZxyz(12.9200, 8.1372, 7.9100)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A314D #318A6E
analogous
#8A317A #8A314D #8A4231
triadic
#8A314D #4D8A31 #314D8A
tetradic
#8A314D #7A8A31 #318A6E #42318A
square
#8A314D #7A8A31 #318A6E #42318A
split-complementary
#8A314D #318A42 #317A8A
monochromatic
#30111B #5D2134 #8A314D #B74166 #CA6B89

Accessibility & contrast

On white

7.99
#8A314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A314D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A314D#FFFFFF#000000##FFFFFF
##8A314D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464E
Deuteranopia (green-blind)
#5A574B
Tritanopia (blue-blind)
#96263C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a314d;
/* rgb */ color: rgb(138, 49, 77);
/* oklch */ color: oklch(44.9% 0.124 4.1);
Tailwind
colors: {
  custom: {
    50: '#b06e7e',
    500: '#8a314d',
    950: '#000000',
  },
}
SCSS
$custom: #8a314d;
$custom-light: #b06e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a314d",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 341.124,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44931,
    "c": 0.12363,
    "h": 4.1
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#8A314D
secondary
#65B29A
accent
#D7AD51
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A314D

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

Preview Lab → · Contrast checker → · Palette generator →

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