#8D2272#8D2272

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

Color values

HEX#8D2272
RGBrgb(141, 34, 114)
HSLhsl(315, 61%, 34%)
HSVhsv(315, 76%, 55%)
CMYKcmyk(0%, 75.9%, 19.1%, 44.7%)
CIE-LABlab(34.03, 52.09, -20.79)
CIE-LCHlch(34.03, 56.09, 338.24°)
OKLaboklab(45.32% 0.1554 -0.0561)
OKLCHoklch(45.32% 0.165 340.1)
XYZxyz(14.5942, 8.0231, 16.6963)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2272 #228D3D
analogous
#73228D #8D2272 #8D223D
triadic
#8D2272 #728D22 #22728D
tetradic
#8D2272 #8D7322 #228D3D #223D8D
square
#8D2272 #8D7322 #228D3D #223D8D
split-complementary
#8D2272 #3D8D22 #228D73
monochromatic
#2A0A22 #5C164A #8D2272 #BE2E9A #D654B5

Accessibility & contrast

On white

8.06
#8D2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2272
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2272#FFFFFF#000000##FFFFFF
##8D22721.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2272;
/* rgb */ color: rgb(141, 34, 114);
/* oklch */ color: oklch(45.3% 0.165 340.1);
Tailwind
colors: {
  custom: {
    50: '#b2699a',
    500: '#8d2272',
    950: '#000000',
  },
}
SCSS
$custom: #8d2272;
$custom-light: #b2699a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2272",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 315.14,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.16526,
    "h": 340.1
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#8D2272
secondary
#51B96C
accent
#E46C44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2272

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

Preview Lab → · Contrast checker → · Palette generator →

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