#8B2248#8B2248

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

Color values

HEX#8B2248
RGBrgb(139, 34, 72)
HSLhsl(338, 61%, 34%)
HSVhsv(338, 76%, 55%)
CMYKcmyk(0%, 75.5%, 48.2%, 45.5%)
CIE-LABlab(32.04, 46.46, 3.29)
CIE-LCHlch(32.04, 46.57, 4.05°)
OKLaboklab(43.27% 0.1422 0.0089)
OKLCHoklch(43.27% 0.142 3.6)
XYZxyz(12.3902, 7.1025, 6.8481)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2248 #228B65
analogous
#8B227D #8B2248 #8B3122
triadic
#8B2248 #488B22 #22488B
tetradic
#8B2248 #7D8B22 #228B65 #31228B
square
#8B2248 #7D8B22 #228B65 #31228B
split-complementary
#8B2248 #228B31 #227D8B
monochromatic
#290A15 #5A162F #8B2248 #BC2E61 #D55382

Accessibility & contrast

On white

8.68
#8B2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2248
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2248#FFFFFF#000000##FFFFFF
##8B22481.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E49
Deuteranopia (green-blind)
#565346
Tritanopia (blue-blind)
#970E32
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b2248;
/* rgb */ color: rgb(139, 34, 72);
/* oklch */ color: oklch(43.3% 0.142 3.6);
Tailwind
colors: {
  custom: {
    50: '#b2677a',
    500: '#8b2248',
    950: '#000000',
  },
}
SCSS
$custom: #8b2248;
$custom-light: #b2677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2248",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 338.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.14249,
    "h": 3.6
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#8B2248
secondary
#50B893
accent
#E4AA44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B2248

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

Preview Lab → · Contrast checker → · Palette generator →

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