#8D2273#8D2273

#8D2273 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.166 H 339.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8D2273
RGBrgb(141, 34, 115)
HSLhsl(315, 61%, 34%)
HSVhsv(315, 76%, 55%)
CMYKcmyk(0%, 75.9%, 18.4%, 44.7%)
CIE-LABlab(34.08, 52.24, -21.35)
CIE-LCHlch(34.08, 56.43, 337.77°)
OKLaboklab(45.37% 0.1556 -0.0577)
OKLCHoklch(45.37% 0.166 339.7)
XYZxyz(14.6514, 8.0460, 16.9978)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2273 #228D3C
analogous
#72228D #8D2273 #8D223E
triadic
#8D2273 #738D22 #22738D
tetradic
#8D2273 #8D7222 #228D3C #223E8D
square
#8D2273 #8D7222 #228D3C #223E8D
split-complementary
#8D2273 #3E8D22 #228D72
monochromatic
#2A0A23 #5C164B #8D2273 #BE2E9B #D654B6

Accessibility & contrast

On white

8.05
#8D2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2273
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2273#FFFFFF#000000##FFFFFF
##8D22731.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294575
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#952648
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2273;
/* rgb */ color: rgb(141, 34, 115);
/* oklch */ color: oklch(45.4% 0.166 339.7);
Tailwind
colors: {
  custom: {
    50: '#b2699b',
    500: '#8d2273',
    950: '#000000',
  },
}
SCSS
$custom: #8d2273;
$custom-light: #b2699b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2273",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 314.579,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.16594,
    "h": 339.7
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#8D2273
secondary
#51B96B
accent
#E46B44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2273

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

Preview Lab → · Contrast checker → · Palette generator →

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