#8F3274#8F3274

#8F3274 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.147 H 340.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8F3274
RGBrgb(143, 50, 116)
HSLhsl(317, 48%, 38%)
HSVhsv(317, 65%, 56%)
CMYKcmyk(0%, 65%, 18.9%, 43.9%)
CIE-LABlab(36.71, 46.67, -17.87)
CIE-LCHlch(36.71, 49.98, 339.05°)
OKLaboklab(47.37% 0.1389 -0.048)
OKLCHoklch(47.37% 0.147 340.9)
XYZxyz(15.6211, 9.3832, 17.5080)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3274 #328F4D
analogous
#7B328F #8F3274 #8F3246
triadic
#8F3274 #748F32 #32748F
tetradic
#8F3274 #8F7B32 #328F4D #32468F
square
#8F3274 #8F7B32 #328F4D #32468F
split-complementary
#8F3274 #468F32 #328F7B
monochromatic
#34122A #62224F #8F3274 #BC4299 #CD6FB1

Accessibility & contrast

On white

7.30
#8F3274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F3274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3274
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3274#FFFFFF#000000##FFFFFF
##8F32741.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#545C72
Tritanopia (blue-blind)
#97344E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f3274;
/* rgb */ color: rgb(143, 50, 116);
/* oklch */ color: oklch(47.4% 0.147 340.9);
Tailwind
colors: {
  custom: {
    50: '#b3709c',
    500: '#8f3274',
    950: '#000000',
  },
}
SCSS
$custom: #8f3274;
$custom-light: #b3709c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3274",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 317.419,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.147,
    "h": 340.9
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#8F3274
secondary
#68B47E
accent
#D87750
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F3274

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

Preview Lab → · Contrast checker → · Palette generator →

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