#8D1852#8D1852

#8D1852 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.158 H 356.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8D1852
RGBrgb(141, 24, 82)
HSLhsl(330, 71%, 32%)
HSVhsv(330, 83%, 55%)
CMYKcmyk(0%, 83%, 41.8%, 44.7%)
CIE-LABlab(31.64, 51.18, -3.81)
CIE-LCHlch(31.64, 51.32, 355.74°)
OKLaboklab(43.15% 0.1575 -0.0094)
OKLCHoklch(43.15% 0.158 356.6)
XYZxyz(12.8351, 6.9269, 8.6421)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1852 #188D53
analogous
#8D188D #8D1852 #8D1818
triadic
#8D1852 #528D18 #18528D
tetradic
#8D1852 #8D8D18 #188D53 #18188D
square
#8D1852 #8D8D18 #188D53 #18188D
split-complementary
#8D1852 #188D18 #188D8D
monochromatic
#240615 #590F34 #8D1852 #C12170 #DF418F

Accessibility & contrast

On white

8.81
#8D1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8D1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1852
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1852#FFFFFF#000000##FFFFFF
##8D18521.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#990033
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1852;
/* rgb */ color: rgb(141, 24, 82);
/* oklch */ color: oklch(43.2% 0.158 356.6);
Tailwind
colors: {
  custom: {
    50: '#b36482',
    500: '#8d1852',
    950: '#000000',
  },
}
SCSS
$custom: #8d1852;
$custom-light: #b36482;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1852",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 330.256,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.15781,
    "h": 356.6
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#8D1852
secondary
#42BF81
accent
#EE953A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1852

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

Preview Lab → · Contrast checker → · Palette generator →

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