#8A314E#8A314E

#8A314E is a dark, vivid pink. Relative luminance 0.082; OKLCH L 45.0% C 0.124 H 3.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A314E
RGBrgb(138, 49, 78)
HSLhsl(340, 48%, 37%)
HSVhsv(340, 64%, 54%)
CMYKcmyk(0%, 64.5%, 43.5%, 45.9%)
CIE-LABlab(34.30, 40.53, 2.61)
CIE-LCHlch(34.30, 40.61, 3.69°)
OKLaboklab(44.96% 0.1237 0.0072)
OKLCHoklch(44.96% 0.124 3.3)
XYZxyz(12.9556, 8.1515, 8.0974)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A314E #318A6D
analogous
#8A317B #8A314E #8A4031
triadic
#8A314E #4E8A31 #314E8A
tetradic
#8A314E #7B8A31 #318A6D #40318A
square
#8A314E #7B8A31 #318A6D #40318A
split-complementary
#8A314E #318A40 #317B8A
monochromatic
#30111B #5D2134 #8A314E #B74168 #CA6B8A

Accessibility & contrast

On white

7.98
#8A314E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A314E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A314E#FFFFFF#000000##FFFFFF
##8A314E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464F
Deuteranopia (green-blind)
#5A574C
Tritanopia (blue-blind)
#96273C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a314e;
/* rgb */ color: rgb(138, 49, 78);
/* oklch */ color: oklch(45.0% 0.124 3.3);
Tailwind
colors: {
  custom: {
    50: '#b06e7f',
    500: '#8a314e',
    950: '#000000',
  },
}
SCSS
$custom: #8a314e;
$custom-light: #b06e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a314e",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 340.449,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.12391,
    "h": 3.3
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#8A314E
secondary
#65B299
accent
#D7AB51
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A314E

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

Preview Lab → · Contrast checker → · Palette generator →

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