#8B2277#8B2277

#8B2277 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.168 H 336.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8B2277
RGBrgb(139, 34, 119)
HSLhsl(311, 61%, 34%)
HSVhsv(311, 76%, 55%)
CMYKcmyk(0%, 75.5%, 14.4%, 45.5%)
CIE-LABlab(33.91, 52.33, -24.16)
CIE-LCHlch(33.91, 57.63, 335.22°)
OKLaboklab(45.25% 0.1541 -0.0657)
OKLCHoklch(45.25% 0.168 336.9)
XYZxyz(14.5495, 7.9663, 18.2206)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2277 #228B36
analogous
#6B228B #8B2277 #8B2242
triadic
#8B2277 #778B22 #22778B
tetradic
#8B2277 #8B6B22 #228B36 #22428B
square
#8B2277 #8B6B22 #228B36 #22428B
split-complementary
#8B2277 #428B22 #228B6B
monochromatic
#290A23 #5A164D #8B2277 #BC2EA1 #D553BC

Accessibility & contrast

On white

8.10
#8B2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2277
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2277#FFFFFF#000000##FFFFFF
##8B22771.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254679
Deuteranopia (green-blind)
#495575
Tritanopia (blue-blind)
#93294A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2277;
/* rgb */ color: rgb(139, 34, 119);
/* oklch */ color: oklch(45.2% 0.168 336.9);
Tailwind
colors: {
  custom: {
    50: '#b0689e',
    500: '#8b2277',
    950: '#000000',
  },
}
SCSS
$custom: #8b2277;
$custom-light: #b0689e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2277",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 311.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.1675,
    "h": 336.9
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#8B2277
secondary
#50B864
accent
#E46244
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2277

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

Preview Lab → · Contrast checker → · Palette generator →

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