#8D3274#8D3274

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

Color values

HEX#8D3274
RGBrgb(141, 50, 116)
HSLhsl(316, 48%, 37%)
HSVhsv(316, 65%, 55%)
CMYKcmyk(0%, 64.5%, 17.7%, 44.7%)
CIE-LABlab(36.38, 46.09, -18.42)
CIE-LCHlch(36.38, 49.63, 338.22°)
OKLaboklab(47.06% 0.1368 -0.0495)
OKLCHoklch(47.06% 0.145 340.1)
XYZxyz(15.2778, 9.2062, 17.4920)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3274 #328D4B
analogous
#79328D #8D3274 #8D3246
triadic
#8D3274 #748D32 #32748D
tetradic
#8D3274 #8D7932 #328D4B #32468D
square
#8D3274 #8D7932 #328D4B #32468D
split-complementary
#8D3274 #468D32 #328D79
monochromatic
#33122A #60224F #8D3274 #BA4299 #CC6EB2

Accessibility & contrast

On white

7.39
#8D3274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D3274
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3274#FFFFFF#000000##FFFFFF
##8D32741.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#535B72
Tritanopia (blue-blind)
#95344E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d3274;
/* rgb */ color: rgb(141, 50, 116);
/* oklch */ color: oklch(47.1% 0.145 340.1);
Tailwind
colors: {
  custom: {
    50: '#b1709c',
    500: '#8d3274',
    950: '#000000',
  },
}
SCSS
$custom: #8d3274;
$custom-light: #b1709c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3274",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 316.484,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.14547,
    "h": 340.1
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#8D3274
secondary
#68B37C
accent
#D77651
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3274

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

Preview Lab → · Contrast checker → · Palette generator →

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