#8A314F#8A314F

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

Color values

HEX#8A314F
RGBrgb(138, 49, 79)
HSLhsl(340, 48%, 37%)
HSVhsv(340, 64%, 54%)
CMYKcmyk(0%, 64.5%, 42.8%, 45.9%)
CIE-LABlab(34.33, 40.64, 2.01)
CIE-LCHlch(34.33, 40.69, 2.83°)
OKLaboklab(45% 0.1241 0.0057)
OKLCHoklch(45% 0.124 2.6)
XYZxyz(12.9917, 8.1659, 8.2876)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A314F #318A6C
analogous
#8A317C #8A314F #8A3F31
triadic
#8A314F #4F8A31 #314F8A
tetradic
#8A314F #7C8A31 #318A6C #3F318A
square
#8A314F #7C8A31 #318A6C #3F318A
split-complementary
#8A314F #318A3F #317C8A
monochromatic
#30111B #5D2135 #8A314F #B74169 #CA6B8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A314F#FFFFFF#000000##FFFFFF
##8A314F1.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)
#424650
Deuteranopia (green-blind)
#5A574D
Tritanopia (blue-blind)
#95273D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a314f;
/* rgb */ color: rgb(138, 49, 79);
/* oklch */ color: oklch(45.0% 0.124 2.6);
Tailwind
colors: {
  custom: {
    50: '#b06e80',
    500: '#8a314f',
    950: '#000000',
  },
}
SCSS
$custom: #8a314f;
$custom-light: #b06e80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a314f",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 339.775,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.12421,
    "h": 2.6
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#8A314F
secondary
#65B298
accent
#D7AA51
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A314F

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

Preview Lab → · Contrast checker → · Palette generator →

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