#8A314A#8A314A

#8A314A is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.8% C 0.123 H 6.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8A314A
RGBrgb(138, 49, 74)
HSLhsl(343, 48%, 37%)
HSVhsv(343, 64%, 54%)
CMYKcmyk(0%, 64.5%, 46.4%, 45.9%)
CIE-LABlab(34.18, 40.10, 5.03)
CIE-LCHlch(34.18, 40.41, 7.15°)
OKLaboklab(44.84% 0.1222 0.0133)
OKLCHoklch(44.84% 0.123 6.2)
XYZxyz(12.8165, 8.0958, 7.3650)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A314A #318A71
analogous
#8A3177 #8A314A #8A4531
triadic
#8A314A #4A8A31 #314A8A
tetradic
#8A314A #778A31 #318A71 #45318A
square
#8A314A #778A31 #318A71 #45318A
split-complementary
#8A314A #318A45 #31778A
monochromatic
#30111A #5D2132 #8A314A #B74162 #CA6B86

Accessibility & contrast

On white

8.02
#8A314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A314A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A314A#FFFFFF#000000##FFFFFF
##8A314A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44454B
Deuteranopia (green-blind)
#5B5748
Tritanopia (blue-blind)
#96253B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a314a;
/* rgb */ color: rgb(138, 49, 74);
/* oklch */ color: oklch(44.8% 0.123 6.2);
Tailwind
colors: {
  custom: {
    50: '#b06e7c',
    500: '#8a314a',
    950: '#000000',
  },
}
SCSS
$custom: #8a314a;
$custom-light: #b06e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a314a",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 343.146,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.12287,
    "h": 6.2
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#8A314A
secondary
#65B29C
accent
#D7B151
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A314A

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

Preview Lab → · Contrast checker → · Palette generator →

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