#8B2268#8B2268

#8B2268 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.157 H 344.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8B2268
RGBrgb(139, 34, 104)
HSLhsl(320, 61%, 34%)
HSVhsv(320, 76%, 55%)
CMYKcmyk(0%, 75.5%, 25.2%, 45.5%)
CIE-LABlab(33.21, 50.17, -15.73)
CIE-LCHlch(33.21, 52.58, 342.59°)
OKLaboklab(44.51% 0.1517 -0.0419)
OKLCHoklch(44.51% 0.157 344.6)
XYZxyz(13.7187, 7.6340, 13.8450)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2268 #228B45
analogous
#7A228B #8B2268 #8B2234
triadic
#8B2268 #688B22 #22688B
tetradic
#8B2268 #8B7A22 #228B45 #22348B
square
#8B2268 #8B7A22 #228B45 #22348B
split-complementary
#8B2268 #348B22 #228B7A
monochromatic
#290A1E #5A1643 #8B2268 #BC2E8D #D553A9

Accessibility & contrast

On white

8.31
#8B2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2268
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2268#FFFFFF#000000##FFFFFF
##8B22681.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E436A
Deuteranopia (green-blind)
#4E5466
Tritanopia (blue-blind)
#942142
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b2268;
/* rgb */ color: rgb(139, 34, 104);
/* oklch */ color: oklch(44.5% 0.157 344.6);
Tailwind
colors: {
  custom: {
    50: '#b16893',
    500: '#8b2268',
    950: '#000000',
  },
}
SCSS
$custom: #8b2268;
$custom-light: #b16893;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2268",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 320,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44506,
    "c": 0.15739,
    "h": 344.6
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#8B2268
secondary
#50B873
accent
#E47944
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B2268

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

Preview Lab → · Contrast checker → · Palette generator →

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