#8B2F5B#8B2F5B

#8B2F5B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.133 H 354.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8B2F5B
RGBrgb(139, 47, 91)
HSLhsl(331, 49%, 36%)
HSVhsv(331, 66%, 55%)
CMYKcmyk(0%, 66.2%, 34.5%, 45.5%)
CIE-LABlab(34.56, 43.30, -5.36)
CIE-LCHlch(34.56, 43.63, 352.95°)
OKLaboklab(45.33% 0.1322 -0.0136)
OKLCHoklch(45.33% 0.133 354.1)
XYZxyz(13.5530, 8.2788, 10.7797)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F5B #2F8B5F
analogous
#8B2F89 #8B2F5B #8B312F
triadic
#8B2F5B #5B8B2F #2F5B8B
tetradic
#8B2F5B #898B2F #2F8B5F #312F8B
square
#8B2F5B #898B2F #2F8B5F #312F8B
split-complementary
#8B2F5B #2F8B31 #2F898B
monochromatic
#30101F #5D203D #8B2F5B #B93E79 #CC6898

Accessibility & contrast

On white

7.91
#8B2F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B2F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F5B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F5B#FFFFFF#000000##FFFFFF
##8B2F5B1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475C
Deuteranopia (green-blind)
#575759
Tritanopia (blue-blind)
#962841
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2f5b;
/* rgb */ color: rgb(139, 47, 91);
/* oklch */ color: oklch(45.3% 0.133 354.1);
Tailwind
colors: {
  custom: {
    50: '#b06e89',
    500: '#8b2f5b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f5b;
$custom-light: #b06e89;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f5b",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 331.304,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.13288,
    "h": 354.1
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#8B2F5B
secondary
#63B38D
accent
#D9974F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8B2F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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