#8F2671#8F2671

#8F2671 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.161 H 341.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8F2671
RGBrgb(143, 38, 113)
HSLhsl(317, 58%, 35%)
HSVhsv(317, 73%, 56%)
CMYKcmyk(0%, 73.4%, 21%, 43.9%)
CIE-LABlab(34.84, 51.07, -18.87)
CIE-LCHlch(34.84, 54.44, 339.72°)
OKLaboklab(45.96% 0.153 -0.0507)
OKLCHoklch(45.96% 0.161 341.7)
XYZxyz(15.0019, 8.4196, 16.4547)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2671 #268F44
analogous
#78268F #8F2671 #8F263C
triadic
#8F2671 #718F26 #26718F
tetradic
#8F2671 #8F7826 #268F44 #263C8F
square
#8F2671 #8F7826 #268F44 #263C8F
split-complementary
#8F2671 #3C8F26 #268F78
monochromatic
#2E0C25 #5F194B #8F2671 #BF3397 #D45CB1

Accessibility & contrast

On white

7.83
#8F2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2671
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2671#FFFFFF#000000##FFFFFF
##8F26711.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#982848
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2671;
/* rgb */ color: rgb(143, 38, 113);
/* oklch */ color: oklch(46.0% 0.161 341.7);
Tailwind
colors: {
  custom: {
    50: '#b36a9a',
    500: '#8f2671',
    950: '#000000',
  },
}
SCSS
$custom: #8f2671;
$custom-light: #b36a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2671",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 317.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.16119,
    "h": 341.7
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#8F2671
secondary
#58B974
accent
#E17347
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2671

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

Preview Lab → · Contrast checker → · Palette generator →

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