#8B314F#8B314F

#8B314F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.2% C 0.125 H 2.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8B314F
RGBrgb(139, 49, 79)
HSLhsl(340, 48%, 37%)
HSVhsv(340, 65%, 55%)
CMYKcmyk(0%, 64.7%, 43.2%, 45.5%)
CIE-LABlab(34.50, 40.98, 2.29)
CIE-LCHlch(34.50, 41.04, 3.19°)
OKLaboklab(45.16% 0.1251 0.0064)
OKLCHoklch(45.16% 0.125 2.9)
XYZxyz(13.1580, 8.2516, 8.2954)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B314F #318B6D
analogous
#8B317C #8B314F #8B4031
triadic
#8B314F #4F8B31 #314F8B
tetradic
#8B314F #7C8B31 #318B6D #40318B
square
#8B314F #7C8B31 #318B6D #40318B
split-complementary
#8B314F #318B40 #317C8B
monochromatic
#31111C #5E2135 #8B314F #B84169 #CB6B8B

Accessibility & contrast

On white

7.92
#8B314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B314F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B314F#FFFFFF#000000##FFFFFF
##8B314F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434650
Deuteranopia (green-blind)
#5B584D
Tritanopia (blue-blind)
#97273D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b314f;
/* rgb */ color: rgb(139, 49, 79);
/* oklch */ color: oklch(45.2% 0.125 2.9);
Tailwind
colors: {
  custom: {
    50: '#b16e80',
    500: '#8b314f',
    950: '#000000',
  },
}
SCSS
$custom: #8b314f;
$custom-light: #b16e80;
$custom-dark: #000000;
JSON
{
  "hex": "#8b314f",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 340,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45159,
    "c": 0.12527,
    "h": 2.9
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B314F

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

Preview Lab → · Contrast checker → · Palette generator →

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