#8D3273#8D3273

#8D3273 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.0% C 0.145 H 340.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8D3273
RGBrgb(141, 50, 115)
HSLhsl(317, 48%, 37%)
HSVhsv(317, 65%, 55%)
CMYKcmyk(0%, 64.5%, 18.4%, 44.7%)
CIE-LABlab(36.33, 45.94, -17.86)
CIE-LCHlch(36.33, 49.28, 338.76°)
OKLaboklab(47.01% 0.1366 -0.048)
OKLCHoklch(47.01% 0.145 340.6)
XYZxyz(15.2200, 9.1831, 17.1873)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3273 #328D4C
analogous
#7A328D #8D3273 #8D3245
triadic
#8D3273 #738D32 #32738D
tetradic
#8D3273 #8D7A32 #328D4C #32458D
square
#8D3273 #8D7A32 #328D4C #32458D
split-complementary
#8D3273 #458D32 #328D7A
monochromatic
#331229 #60224E #8D3273 #BA4298 #CC6EB1

Accessibility & contrast

On white

7.40
#8D3273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D3273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3273
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3273#FFFFFF#000000##FFFFFF
##8D32731.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C75
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#95344E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d3273;
/* rgb */ color: rgb(141, 50, 115);
/* oklch */ color: oklch(47.0% 0.145 340.6);
Tailwind
colors: {
  custom: {
    50: '#b1709b',
    500: '#8d3273',
    950: '#000000',
  },
}
SCSS
$custom: #8d3273;
$custom-light: #b1709b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3273",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 317.143,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47014,
    "c": 0.14475,
    "h": 340.6
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#8D3273
secondary
#68B37D
accent
#D77751
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3273

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

Preview Lab → · Contrast checker → · Palette generator →

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