#8F4875#8F4875

#8F4875 is a mid, moderate pink. Relative luminance 0.118; OKLCH L 50.4% C 0.111 H 343.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8F4875
RGBrgb(143, 72, 117)
HSLhsl(322, 33%, 42%)
HSVhsv(322, 50%, 56%)
CMYKcmyk(0%, 49.7%, 18.2%, 43.9%)
CIE-LABlab(40.83, 35.95, -12.20)
CIE-LCHlch(40.83, 37.96, 341.25°)
OKLaboklab(50.44% 0.1066 -0.0324)
OKLCHoklch(50.44% 0.111 343.1)
XYZxyz(16.8562, 11.7600, 18.2083)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4875 #488F62
analogous
#86488F #8F4875 #8F4852
triadic
#8F4875 #758F48 #48758F
tetradic
#8F4875 #8F8648 #488F62 #48528F
square
#8F4875 #8F8648 #488F62 #48528F
split-complementary
#8F4875 #528F48 #488F86
monochromatic
#3E1F32 #663454 #8F4875 #B16394 #C58CB0

Accessibility & contrast

On white

6.27
#8F4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8F4875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4875
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4875#FFFFFF#000000##FFFFFF
##8F48751.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5977
Deuteranopia (green-blind)
#606573
Tritanopia (blue-blind)
#974859
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f4875;
/* rgb */ color: rgb(143, 72, 117);
/* oklch */ color: oklch(50.4% 0.111 343.1);
Tailwind
colors: {
  custom: {
    50: '#b27d9c',
    500: '#8f4875',
    950: '#000000',
  },
}
SCSS
$custom: #8f4875;
$custom-light: #b27d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4875",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 321.972,
    "s": 33.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.11143,
    "h": 343.1
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#8F4875
secondary
#82B193
accent
#C9865F
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#110A0E
muted
#807C7E

Preview Lab

Preview with #8F4875

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

Preview Lab → · Contrast checker → · Palette generator →

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