#8F405E#8F405E

#8F405E is a mid, moderate pink. Relative luminance 0.103; OKLCH L 48.4% C 0.112 H 358.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8F405E
RGBrgb(143, 64, 94)
HSLhsl(337, 38%, 41%)
HSVhsv(337, 55%, 56%)
CMYKcmyk(0%, 55.2%, 34.3%, 43.9%)
CIE-LABlab(38.40, 36.79, -1.50)
CIE-LCHlch(38.40, 36.82, 357.67°)
OKLaboklab(48.36% 0.1119 -0.0034)
OKLCHoklch(48.36% 0.112 358.2)
XYZxyz(15.1822, 10.3161, 11.7791)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F405E #408F71
analogous
#8F4085 #8F405E #8F4940
triadic
#8F405E #5E8F40 #405E8F
tetradic
#8F405E #858F40 #408F71 #49408F
square
#8F405E #858F40 #408F71 #49408F
split-complementary
#8F405E #408F49 #40858F
monochromatic
#3A1A26 #652D42 #8F405E #B4587B #C7829C

Accessibility & contrast

On white

6.86
#8F405E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F405E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F405E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F405E#FFFFFF#000000##FFFFFF
##8F405E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#61605C
Tritanopia (blue-blind)
#9A3A4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f405e;
/* rgb */ color: rgb(143, 64, 94);
/* oklch */ color: oklch(48.4% 0.112 358.2);
Tailwind
colors: {
  custom: {
    50: '#b3788b',
    500: '#8f405e',
    950: '#000000',
  },
}
SCSS
$custom: #8f405e;
$custom-light: #b3788b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f405e",
  "rgb": {
    "r": 143,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 337.215,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48355,
    "c": 0.11193,
    "h": 358.2
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#8F405E
secondary
#79B29C
accent
#CEA25A
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8F405E

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

Preview Lab → · Contrast checker → · Palette generator →

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