#8A314C#8A314C

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

Color values

HEX#8A314C
RGBrgb(138, 49, 76)
HSLhsl(342, 48%, 37%)
HSVhsv(342, 64%, 54%)
CMYKcmyk(0%, 64.5%, 44.9%, 45.9%)
CIE-LABlab(34.24, 40.31, 3.82)
CIE-LCHlch(34.24, 40.49, 5.41°)
OKLaboklab(44.9% 0.1229 0.0103)
OKLCHoklch(44.9% 0.123 4.8)
XYZxyz(12.8850, 8.1232, 7.7255)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A314C #318A6F
analogous
#8A3179 #8A314C #8A4331
triadic
#8A314C #4C8A31 #314C8A
tetradic
#8A314C #798A31 #318A6F #43318A
square
#8A314C #798A31 #318A6F #43318A
split-complementary
#8A314C #318A43 #31798A
monochromatic
#30111A #5D2133 #8A314C #B74165 #CA6B88

Accessibility & contrast

On white

8.00
#8A314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A314C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A314C#FFFFFF#000000##FFFFFF
##8A314C1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464D
Deuteranopia (green-blind)
#5A574A
Tritanopia (blue-blind)
#96263B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a314c;
/* rgb */ color: rgb(138, 49, 76);
/* oklch */ color: oklch(44.9% 0.123 4.8);
Tailwind
colors: {
  custom: {
    50: '#b06e7d',
    500: '#8a314c',
    950: '#000000',
  },
}
SCSS
$custom: #8a314c;
$custom-light: #b06e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a314c",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 341.798,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.449,
    "c": 0.12336,
    "h": 4.8
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A314C

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

Preview Lab → · Contrast checker → · Palette generator →

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