#8B2147#8B2147

#8B2147 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.143 H 4.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8B2147
RGBrgb(139, 33, 71)
HSLhsl(338, 62%, 34%)
HSVhsv(338, 76%, 55%)
CMYKcmyk(0%, 76.3%, 48.9%, 45.5%)
CIE-LABlab(31.88, 46.72, 3.72)
CIE-LCHlch(31.88, 46.87, 4.55°)
OKLaboklab(43.14% 0.143 0.01)
OKLCHoklch(43.14% 0.143 4)
XYZxyz(12.3297, 7.0333, 6.6683)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2147 #218B65
analogous
#8B217C #8B2147 #8B3021
triadic
#8B2147 #478B21 #21478B
tetradic
#8B2147 #7C8B21 #218B65 #30218B
square
#8B2147 #7C8B21 #218B65 #30218B
split-complementary
#8B2147 #218B30 #217C8B
monochromatic
#280A14 #5A152E #8B2147 #BC2D60 #D65180

Accessibility & contrast

On white

8.73
#8B2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8B2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2147
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2147#FFFFFF#000000##FFFFFF
##8B21471.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E48
Deuteranopia (green-blind)
#565344
Tritanopia (blue-blind)
#970B31
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b2147;
/* rgb */ color: rgb(139, 33, 71);
/* oklch */ color: oklch(43.1% 0.143 4.0);
Tailwind
colors: {
  custom: {
    50: '#b2667a',
    500: '#8b2147',
    950: '#000000',
  },
}
SCSS
$custom: #8b2147;
$custom-light: #b2667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2147",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 338.491,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.14333,
    "h": 4
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#8B2147
secondary
#4FB993
accent
#E5AB43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B2147

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

Preview Lab → · Contrast checker → · Palette generator →

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