#8A314B#8A314B

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

Color values

HEX#8A314B
RGBrgb(138, 49, 75)
HSLhsl(342, 48%, 37%)
HSVhsv(342, 64%, 54%)
CMYKcmyk(0%, 64.5%, 45.7%, 45.9%)
CIE-LABlab(34.21, 40.20, 4.42)
CIE-LCHlch(34.21, 40.45, 6.28°)
OKLaboklab(44.87% 0.1225 0.0118)
OKLCHoklch(44.87% 0.123 5.5)
XYZxyz(12.8505, 8.1094, 7.5438)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A314B #318A70
analogous
#8A3178 #8A314B #8A4431
triadic
#8A314B #4B8A31 #314B8A
tetradic
#8A314B #788A31 #318A70 #44318A
square
#8A314B #788A31 #318A70 #44318A
split-complementary
#8A314B #318A44 #31788A
monochromatic
#30111A #5D2132 #8A314B #B74164 #CA6B87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A314B#FFFFFF#000000##FFFFFF
##8A314B1.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)
#43454C
Deuteranopia (green-blind)
#5B5749
Tritanopia (blue-blind)
#96263B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a314b;
/* rgb */ color: rgb(138, 49, 75);
/* oklch */ color: oklch(44.9% 0.123 5.5);
Tailwind
colors: {
  custom: {
    50: '#b06e7d',
    500: '#8a314b',
    950: '#000000',
  },
}
SCSS
$custom: #8a314b;
$custom-light: #b06e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a314b",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 342.472,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.12311,
    "h": 5.5
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#8A314B
secondary
#65B29B
accent
#D7B051
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A314B

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

Preview Lab → · Contrast checker → · Palette generator →

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