#8B2148#8B2148

#8B2148 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.144 H 3.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8B2148
RGBrgb(139, 33, 72)
HSLhsl(338, 62%, 34%)
HSVhsv(338, 76%, 55%)
CMYKcmyk(0%, 76.3%, 48.2%, 45.5%)
CIE-LABlab(31.91, 46.81, 3.11)
CIE-LCHlch(31.91, 46.92, 3.80°)
OKLaboklab(43.17% 0.1434 0.0085)
OKLCHoklch(43.17% 0.144 3.4)
XYZxyz(12.3620, 7.0462, 6.8387)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2148 #218B64
analogous
#8B217D #8B2148 #8B2F21
triadic
#8B2148 #488B21 #21488B
tetradic
#8B2148 #7D8B21 #218B64 #2F218B
square
#8B2148 #7D8B21 #218B64 #2F218B
split-complementary
#8B2148 #218B2F #217D8B
monochromatic
#280A15 #5A152E #8B2148 #BC2D62 #D65182

Accessibility & contrast

On white

8.72
#8B2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2148
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2148#FFFFFF#000000##FFFFFF
##8B21481.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2148;
/* rgb */ color: rgb(139, 33, 72);
/* oklch */ color: oklch(43.2% 0.144 3.4);
Tailwind
colors: {
  custom: {
    50: '#b2667a',
    500: '#8b2148',
    950: '#000000',
  },
}
SCSS
$custom: #8b2148;
$custom-light: #b2667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2148",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 337.925,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43173,
    "c": 0.14361,
    "h": 3.4
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#8B2148
secondary
#4FB992
accent
#E5A943
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B2148

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

Preview Lab → · Contrast checker → · Palette generator →

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