#8B274B#8B274B

#8B274B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.137 H 2.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8B274B
RGBrgb(139, 39, 75)
HSLhsl(338, 56%, 35%)
HSVhsv(338, 72%, 55%)
CMYKcmyk(0%, 71.9%, 46%, 45.5%)
CIE-LABlab(32.81, 44.86, 2.44)
CIE-LCHlch(32.81, 44.92, 3.11°)
OKLaboklab(43.86% 0.1373 0.0068)
OKLCHoklch(43.86% 0.137 2.8)
XYZxyz(12.6439, 7.4496, 7.4273)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B274B #278B67
analogous
#8B277D #8B274B #8B3527
triadic
#8B274B #4B8B27 #274B8B
tetradic
#8B274B #7D8B27 #278B67 #35278B
square
#8B274B #7D8B27 #278B67 #35278B
split-complementary
#8B274B #278B35 #277D8B
monochromatic
#2B0C17 #5B1A31 #8B274B #BB3465 #D15B86

Accessibility & contrast

On white

8.44
#8B274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8B274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B274B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B274B#FFFFFF#000000##FFFFFF
##8B274B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#575449
Tritanopia (blue-blind)
#971836
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b274b;
/* rgb */ color: rgb(139, 39, 75);
/* oklch */ color: oklch(43.9% 0.137 2.8);
Tailwind
colors: {
  custom: {
    50: '#b2697d',
    500: '#8b274b',
    950: '#000000',
  },
}
SCSS
$custom: #8b274b;
$custom-light: #b2697d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b274b",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 338.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43865,
    "c": 0.13744,
    "h": 2.8
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#8B274B
secondary
#58B694
accent
#DFA948
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8B274B

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

Preview Lab → · Contrast checker → · Palette generator →

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