#8F3151#8F3151

#8F3151 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.130 H 2.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8F3151
RGBrgb(143, 49, 81)
HSLhsl(340, 49%, 38%)
HSVhsv(340, 66%, 56%)
CMYKcmyk(0%, 65.7%, 43.4%, 43.9%)
CIE-LABlab(35.27, 42.53, 2.19)
CIE-LCHlch(35.27, 42.59, 2.95°)
OKLaboklab(45.88% 0.1299 0.0062)
OKLCHoklch(45.88% 0.13 2.7)
XYZxyz(13.9122, 8.6320, 8.7165)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3151 #318F6F
analogous
#8F3180 #8F3151 #8F4031
triadic
#8F3151 #518F31 #31518F
tetradic
#8F3151 #808F31 #318F6F #40318F
square
#8F3151 #808F31 #318F6F #40318F
split-complementary
#8F3151 #318F40 #31808F
monochromatic
#34121D #612137 #8F3151 #BD416B #CD6D8E

Accessibility & contrast

On white

7.70
#8F3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3151
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3151#FFFFFF#000000##FFFFFF
##8F31511.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444752
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#9B263E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f3151;
/* rgb */ color: rgb(143, 49, 81);
/* oklch */ color: oklch(45.9% 0.130 2.7);
Tailwind
colors: {
  custom: {
    50: '#b46f81',
    500: '#8f3151',
    950: '#000000',
  },
}
SCSS
$custom: #8f3151;
$custom-light: #b46f81;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3151",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 339.574,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45882,
    "c": 0.13007,
    "h": 2.7
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#8F3151
secondary
#67B59A
accent
#D9AA4F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C

Preview Lab

Preview with #8F3151

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

Preview Lab → · Contrast checker → · Palette generator →

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