#8B2862#8B2862

#8B2862 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.146 H 348.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8B2862
RGBrgb(139, 40, 98)
HSLhsl(325, 55%, 35%)
HSVhsv(325, 71%, 55%)
CMYKcmyk(0%, 71.2%, 29.5%, 45.5%)
CIE-LABlab(33.75, 47.14, -11.06)
CIE-LCHlch(33.75, 48.42, 346.80°)
OKLaboklab(44.82% 0.1434 -0.029)
OKLCHoklch(44.82% 0.146 348.6)
XYZxyz(13.6115, 7.8899, 12.3590)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2862 #288B51
analogous
#82288B #8B2862 #8B2831
triadic
#8B2862 #628B28 #28628B
tetradic
#8B2862 #8B8228 #288B51 #28318B
square
#8B2862 #8B8228 #288B51 #28318B
split-complementary
#8B2862 #318B28 #288B82
monochromatic
#2C0D1F #5B1A40 #8B2862 #BB3684 #D05DA1

Accessibility & contrast

On white

8.15
#8B2862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B2862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2862
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2862#FFFFFF#000000##FFFFFF
##8B28621.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364464
Deuteranopia (green-blind)
#525660
Tritanopia (blue-blind)
#952441
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b2862;
/* rgb */ color: rgb(139, 40, 98);
/* oklch */ color: oklch(44.8% 0.146 348.6);
Tailwind
colors: {
  custom: {
    50: '#b06a8e',
    500: '#8b2862',
    950: '#000000',
  },
}
SCSS
$custom: #8b2862;
$custom-light: #b06a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2862",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 324.848,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44821,
    "c": 0.1463,
    "h": 348.6
  },
  "luminance": 0.07888
}

Semantic roles & 50–950 ramp

primary
#8B2862
secondary
#59B67F
accent
#DF8749
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8B2862

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

Preview Lab → · Contrast checker → · Palette generator →

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