#8F2974#8F2974

#8F2974 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.159 H 340.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8F2974
RGBrgb(143, 41, 116)
HSLhsl(316, 55%, 36%)
HSVhsv(316, 71%, 56%)
CMYKcmyk(0%, 71.3%, 18.9%, 43.9%)
CIE-LABlab(35.38, 50.38, -19.94)
CIE-LCHlch(35.38, 54.18, 338.41°)
OKLaboklab(46.39% 0.1501 -0.0537)
OKLCHoklch(46.39% 0.159 340.3)
XYZxyz(15.2734, 8.6879, 17.3922)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2974 #298F44
analogous
#77298F #8F2974 #8F2941
triadic
#8F2974 #748F29 #29748F
tetradic
#8F2974 #8F7729 #298F44 #29418F
square
#8F2974 #8F7729 #298F44 #29418F
split-complementary
#8F2974 #418F29 #298F77
monochromatic
#300E27 #5F1B4D #8F2974 #BF379B #D261B4

Accessibility & contrast

On white

7.67
#8F2974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F2974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2974
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2974#FFFFFF#000000##FFFFFF
##8F29741.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#505972
Tritanopia (blue-blind)
#982C4B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2974;
/* rgb */ color: rgb(143, 41, 116);
/* oklch */ color: oklch(46.4% 0.159 340.3);
Tailwind
colors: {
  custom: {
    50: '#b36c9c',
    500: '#8f2974',
    950: '#000000',
  },
}
SCSS
$custom: #8f2974;
$custom-light: #b36c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2974",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 315.882,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46394,
    "c": 0.15946,
    "h": 340.3
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#8F2974
secondary
#5CB775
accent
#DF7149
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2974

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

Preview Lab → · Contrast checker → · Palette generator →

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