#8F3147#8F3147

#8F3147 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.6% C 0.128 H 9.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8F3147
RGBrgb(143, 49, 71)
HSLhsl(346, 49%, 38%)
HSVhsv(346, 66%, 56%)
CMYKcmyk(0%, 65.7%, 50.3%, 43.9%)
CIE-LABlab(34.99, 41.51, 8.23)
CIE-LCHlch(34.99, 42.32, 11.22°)
OKLaboklab(45.59% 0.126 0.0212)
OKLCHoklch(45.59% 0.128 9.6)
XYZxyz(13.5644, 8.4929, 6.8850)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3147 #318F79
analogous
#8F3176 #8F3147 #8F4A31
triadic
#8F3147 #478F31 #31478F
tetradic
#8F3147 #768F31 #318F79 #4A318F
square
#8F3147 #768F31 #318F79 #4A318F
split-complementary
#8F3147 #318F4A #31768F
monochromatic
#34121A #612130 #8F3147 #BD415E #CD6D84

Accessibility & contrast

On white

7.78
#8F3147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F3147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3147
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3147#FFFFFF#000000##FFFFFF
##8F31471.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464647
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#9C223A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f3147;
/* rgb */ color: rgb(143, 49, 71);
/* oklch */ color: oklch(45.6% 0.128 9.6);
Tailwind
colors: {
  custom: {
    50: '#b46f7a',
    500: '#8f3147',
    950: '#000000',
  },
}
SCSS
$custom: #8f3147;
$custom-light: #b46f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3147",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 345.957,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.12778,
    "h": 9.6
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#8F3147
secondary
#67B5A3
accent
#D9B84F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120809
muted
#817B7B

Preview Lab

Preview with #8F3147

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

Preview Lab → · Contrast checker → · Palette generator →

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