#8E2B52#8E2B52

#8E2B52 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.138 H 0.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8E2B52
RGBrgb(142, 43, 82)
HSLhsl(336, 54%, 36%)
HSVhsv(336, 70%, 56%)
CMYKcmyk(0%, 69.7%, 42.3%, 44.3%)
CIE-LABlab(34.17, 44.91, -0.07)
CIE-LCHlch(34.17, 44.91, 359.91°)
OKLaboklab(45.04% 0.1375 0.0004)
OKLCHoklch(45.04% 0.138 0.1)
XYZxyz(13.5431, 8.0894, 8.8292)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B52 #2B8E67
analogous
#8E2B84 #8E2B52 #8E362B
triadic
#8E2B52 #528E2B #2B528E
tetradic
#8E2B52 #848E2B #2B8E67 #362B8E
square
#8E2B52 #848E2B #2B8E67 #362B8E
split-complementary
#8E2B52 #2B8E36 #2B848E
monochromatic
#300F1C #5F1D37 #8E2B52 #BD396D #D0638E

Accessibility & contrast

On white

8.02
#8E2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E2B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B52
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B52#FFFFFF#000000##FFFFFF
##8E2B521.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#595750
Tritanopia (blue-blind)
#9A1F3B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2b52;
/* rgb */ color: rgb(142, 43, 82);
/* oklch */ color: oklch(45.0% 0.138 0.1);
Tailwind
colors: {
  custom: {
    50: '#b36c82',
    500: '#8e2b52',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b52;
$custom-light: #b36c82;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b52",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 336.364,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.13752,
    "h": 0.1
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#8E2B52
secondary
#5FB694
accent
#DDA34B
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2B52

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

Preview Lab → · Contrast checker → · Palette generator →

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