#8D2271#8D2271

#8D2271 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.165 H 340.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8D2271
RGBrgb(141, 34, 113)
HSLhsl(316, 61%, 34%)
HSVhsv(316, 76%, 55%)
CMYKcmyk(0%, 75.9%, 19.9%, 44.7%)
CIE-LABlab(33.98, 51.95, -20.23)
CIE-LCHlch(33.98, 55.75, 338.72°)
OKLaboklab(45.27% 0.1553 -0.0545)
OKLCHoklch(45.27% 0.165 340.7)
XYZxyz(14.5376, 8.0005, 16.3982)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2271 #228D3E
analogous
#74228D #8D2271 #8D223C
triadic
#8D2271 #718D22 #22718D
tetradic
#8D2271 #8D7422 #228D3E #223C8D
square
#8D2271 #8D7422 #228D3E #223C8D
split-complementary
#8D2271 #3C8D22 #228D74
monochromatic
#2A0A22 #5C1649 #8D2271 #BE2E99 #D654B4

Accessibility & contrast

On white

8.08
#8D2271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D2271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2271
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2271#FFFFFF#000000##FFFFFF
##8D22711.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#4D566F
Tritanopia (blue-blind)
#962547
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2271;
/* rgb */ color: rgb(141, 34, 113);
/* oklch */ color: oklch(45.3% 0.165 340.7);
Tailwind
colors: {
  custom: {
    50: '#b2689a',
    500: '#8d2271',
    950: '#000000',
  },
}
SCSS
$custom: #8d2271;
$custom-light: #b2689a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2271",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 315.701,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.16459,
    "h": 340.7
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#8D2271
secondary
#51B96D
accent
#E46E44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2271

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

Preview Lab → · Contrast checker → · Palette generator →

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