#8B2242#8B2242

#8B2242 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.141 H 7.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8B2242
RGBrgb(139, 34, 66)
HSLhsl(342, 61%, 34%)
HSVhsv(342, 76%, 55%)
CMYKcmyk(0%, 75.5%, 52.5%, 45.5%)
CIE-LABlab(31.87, 45.91, 6.99)
CIE-LCHlch(31.87, 46.44, 8.66°)
OKLaboklab(43.09% 0.1399 0.0181)
OKLCHoklch(43.09% 0.141 7.4)
XYZxyz(12.2039, 7.0280, 5.8671)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2242 #228B6B
analogous
#8B2277 #8B2242 #8B3722
triadic
#8B2242 #428B22 #22428B
tetradic
#8B2242 #778B22 #228B6B #37228B
square
#8B2242 #778B22 #228B6B #37228B
split-complementary
#8B2242 #228B37 #22778B
monochromatic
#290A13 #5A162B #8B2242 #BC2E59 #D5537A

Accessibility & contrast

On white

8.73
#8B2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2242
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2242#FFFFFF#000000##FFFFFF
##8B22421.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E43
Deuteranopia (green-blind)
#57533F
Tritanopia (blue-blind)
#98092F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b2242;
/* rgb */ color: rgb(139, 34, 66);
/* oklch */ color: oklch(43.1% 0.141 7.4);
Tailwind
colors: {
  custom: {
    50: '#b26776',
    500: '#8b2242',
    950: '#000000',
  },
}
SCSS
$custom: #8b2242;
$custom-light: #b26776;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2242",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 341.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.14105,
    "h": 7.4
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#8B2242
secondary
#50B899
accent
#E4B344
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B2242

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

Preview Lab → · Contrast checker → · Palette generator →

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