#8B2247#8B2247

#8B2247 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.142 H 4.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8B2247
RGBrgb(139, 34, 71)
HSLhsl(339, 61%, 34%)
HSVhsv(339, 76%, 55%)
CMYKcmyk(0%, 75.5%, 48.9%, 45.5%)
CIE-LABlab(32.01, 46.36, 3.90)
CIE-LCHlch(32.01, 46.53, 4.81°)
OKLaboklab(43.24% 0.1418 0.0105)
OKLCHoklch(43.24% 0.142 4.2)
XYZxyz(12.3578, 7.0896, 6.6777)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2247 #228B66
analogous
#8B227C #8B2247 #8B3222
triadic
#8B2247 #478B22 #22478B
tetradic
#8B2247 #7C8B22 #228B66 #32228B
square
#8B2247 #7C8B22 #228B66 #32228B
split-complementary
#8B2247 #228B32 #227C8B
monochromatic
#290A15 #5A162E #8B2247 #BC2E60 #D55380

Accessibility & contrast

On white

8.69
#8B2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8B2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2247
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2247#FFFFFF#000000##FFFFFF
##8B22471.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E48
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#970D32
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b2247;
/* rgb */ color: rgb(139, 34, 71);
/* oklch */ color: oklch(43.2% 0.142 4.2);
Tailwind
colors: {
  custom: {
    50: '#b2677a',
    500: '#8b2247',
    950: '#000000',
  },
}
SCSS
$custom: #8b2247;
$custom-light: #b2677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2247",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 338.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43236,
    "c": 0.14222,
    "h": 4.2
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#8B2247
secondary
#50B894
accent
#E4AB44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B2247

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

Preview Lab → · Contrast checker → · Palette generator →

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