#8F314F#8F314F

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

Color values

HEX#8F314F
RGBrgb(143, 49, 79)
HSLhsl(341, 49%, 38%)
HSVhsv(341, 66%, 56%)
CMYKcmyk(0%, 65.7%, 44.8%, 43.9%)
CIE-LABlab(35.21, 42.32, 3.39)
CIE-LCHlch(35.21, 42.45, 4.59°)
OKLaboklab(45.82% 0.1292 0.0092)
OKLCHoklch(45.82% 0.129 4.1)
XYZxyz(13.8383, 8.6024, 8.3273)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F314F #318F71
analogous
#8F317E #8F314F #8F4231
triadic
#8F314F #4F8F31 #314F8F
tetradic
#8F314F #7E8F31 #318F71 #42318F
square
#8F314F #7E8F31 #318F71 #42318F
split-complementary
#8F314F #318F42 #317E8F
monochromatic
#34121D #612136 #8F314F #BD4168 #CD6D8C

Accessibility & contrast

On white

7.72
#8F314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F314F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F314F#FFFFFF#000000##FFFFFF
##8F314F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#5D5A4D
Tritanopia (blue-blind)
#9B253D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f314f;
/* rgb */ color: rgb(143, 49, 79);
/* oklch */ color: oklch(45.8% 0.129 4.1);
Tailwind
colors: {
  custom: {
    50: '#b46f80',
    500: '#8f314f',
    950: '#000000',
  },
}
SCSS
$custom: #8f314f;
$custom-light: #b46f80;
$custom-dark: #000000;
JSON
{
  "hex": "#8f314f",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 340.851,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.12949,
    "h": 4.1
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#8F314F
secondary
#67B59C
accent
#D9AD4F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C

Preview Lab

Preview with #8F314F

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

Preview Lab → · Contrast checker → · Palette generator →

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