#8F315F#8F315F

#8F315F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.136 H 353.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8F315F
RGBrgb(143, 49, 95)
HSLhsl(331, 49%, 38%)
HSVhsv(331, 66%, 56%)
CMYKcmyk(0%, 65.7%, 33.6%, 43.9%)
CIE-LABlab(35.72, 44.18, -6.10)
CIE-LCHlch(35.72, 44.60, 352.13°)
OKLaboklab(46.37% 0.1348 -0.0156)
OKLCHoklch(46.37% 0.136 353.4)
XYZxyz(14.4923, 8.8641, 11.7720)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F315F #318F61
analogous
#8F318E #8F315F #8F3231
triadic
#8F315F #5F8F31 #315F8F
tetradic
#8F315F #8E8F31 #318F61 #32318F
square
#8F315F #8E8F31 #318F61 #32318F
split-complementary
#8F315F #318F32 #318E8F
monochromatic
#341222 #612141 #8F315F #BD417D #CD6D9C

Accessibility & contrast

On white

7.57
#8F315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8F315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F315F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F315F#FFFFFF#000000##FFFFFF
##8F315F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#5A5A5D
Tritanopia (blue-blind)
#9A2B44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f315f;
/* rgb */ color: rgb(143, 49, 95);
/* oklch */ color: oklch(46.4% 0.136 353.4);
Tailwind
colors: {
  custom: {
    50: '#b36f8c',
    500: '#8f315f',
    950: '#000000',
  },
}
SCSS
$custom: #8f315f;
$custom-light: #b36f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f315f",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 330.638,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.13567,
    "h": 353.4
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#8F315F
secondary
#67B58F
accent
#D9954F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8F315F

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

Preview Lab → · Contrast checker → · Palette generator →

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