#8B315F#8B315F

#8B315F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.132 H 351.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8B315F
RGBrgb(139, 49, 95)
HSLhsl(329, 48%, 37%)
HSVhsv(329, 65%, 55%)
CMYKcmyk(0%, 64.7%, 31.7%, 45.5%)
CIE-LABlab(35.03, 42.91, -7.21)
CIE-LCHlch(35.03, 43.52, 350.46°)
OKLaboklab(45.72% 0.1306 -0.0186)
OKLCHoklch(45.72% 0.132 351.9)
XYZxyz(13.8120, 8.5133, 11.7401)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B315F #318B5D
analogous
#8A318B #8B315F #8B3132
triadic
#8B315F #5F8B31 #315F8B
tetradic
#8B315F #8B8A31 #318B5D #31328B
square
#8B315F #8B8A31 #318B5D #31328B
split-complementary
#8B315F #328B31 #318B8A
monochromatic
#311121 #5E2140 #8B315F #B8417E #CB6B9C

Accessibility & contrast

On white

7.77
#8B315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8B315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B315F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B315F#FFFFFF#000000##FFFFFF
##8B315F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#57585D
Tritanopia (blue-blind)
#952C44
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b315f;
/* rgb */ color: rgb(139, 49, 95);
/* oklch */ color: oklch(45.7% 0.132 351.9);
Tailwind
colors: {
  custom: {
    50: '#b06f8c',
    500: '#8b315f',
    950: '#000000',
  },
}
SCSS
$custom: #8b315f;
$custom-light: #b06f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b315f",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 329.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45724,
    "c": 0.13195,
    "h": 351.9
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#8B315F
secondary
#65B28B
accent
#D79250
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8B315F

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

Preview Lab → · Contrast checker → · Palette generator →

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