#8F314D#8F314D

#8F314D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.8% C 0.129 H 5.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8F314D
RGBrgb(143, 49, 77)
HSLhsl(342, 49%, 38%)
HSVhsv(342, 66%, 56%)
CMYKcmyk(0%, 65.7%, 46.2%, 43.9%)
CIE-LABlab(35.15, 42.11, 4.60)
CIE-LCHlch(35.15, 42.36, 6.23°)
OKLaboklab(45.76% 0.1284 0.0122)
OKLCHoklch(45.76% 0.129 5.4)
XYZxyz(13.7666, 8.5738, 7.9497)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F314D #318F73
analogous
#8F317C #8F314D #8F4431
triadic
#8F314D #4D8F31 #314D8F
tetradic
#8F314D #7C8F31 #318F73 #44318F
square
#8F314D #7C8F31 #318F73 #44318F
split-complementary
#8F314D #318F44 #317C8F
monochromatic
#34121C #612134 #8F314D #BD4166 #CD6D8A

Accessibility & contrast

On white

7.74
#8F314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8F314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F314D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F314D#FFFFFF#000000##FFFFFF
##8F314D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#5D5A4B
Tritanopia (blue-blind)
#9B243C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f314d;
/* rgb */ color: rgb(143, 49, 77);
/* oklch */ color: oklch(45.8% 0.129 5.4);
Tailwind
colors: {
  custom: {
    50: '#b46f7e',
    500: '#8f314d',
    950: '#000000',
  },
}
SCSS
$custom: #8f314d;
$custom-light: #b46f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f314d",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 342.128,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.12897,
    "h": 5.4
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#8F314D
secondary
#67B59E
accent
#D9B04F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C

Preview Lab

Preview with #8F314D

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

Preview Lab → · Contrast checker → · Palette generator →

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