#8B314C#8B314C

#8B314C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.1% C 0.124 H 5.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8B314C
RGBrgb(139, 49, 76)
HSLhsl(342, 48%, 37%)
HSVhsv(342, 65%, 55%)
CMYKcmyk(0%, 64.7%, 45.3%, 45.5%)
CIE-LABlab(34.41, 40.65, 4.10)
CIE-LCHlch(34.41, 40.86, 5.75°)
OKLaboklab(45.07% 0.124 0.011)
OKLCHoklch(45.07% 0.124 5.1)
XYZxyz(13.0512, 8.2090, 7.7333)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B314C #318B70
analogous
#8B3179 #8B314C #8B4331
triadic
#8B314C #4C8B31 #314C8B
tetradic
#8B314C #798B31 #318B70 #43318B
square
#8B314C #798B31 #318B70 #43318B
split-complementary
#8B314C #318B43 #31798B
monochromatic
#31111B #5E2133 #8B314C #B84165 #CB6B88

Accessibility & contrast

On white

7.95
#8B314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B314C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B314C#FFFFFF#000000##FFFFFF
##8B314C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464D
Deuteranopia (green-blind)
#5B574A
Tritanopia (blue-blind)
#97263B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b314c;
/* rgb */ color: rgb(139, 49, 76);
/* oklch */ color: oklch(45.1% 0.124 5.1);
Tailwind
colors: {
  custom: {
    50: '#b16e7d',
    500: '#8b314c',
    950: '#000000',
  },
}
SCSS
$custom: #8b314c;
$custom-light: #b16e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b314c",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 342,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45065,
    "c": 0.12444,
    "h": 5.1
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B314C

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

Preview Lab → · Contrast checker → · Palette generator →

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