#8F367B#8F367B

#8F367B is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.146 H 337.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8F367B
RGBrgb(143, 54, 123)
HSLhsl(313, 45%, 39%)
HSVhsv(313, 62%, 56%)
CMYKcmyk(0%, 62.2%, 14%, 43.9%)
CIE-LABlab(37.68, 45.97, -20.75)
CIE-LCHlch(37.68, 50.44, 335.71°)
OKLaboklab(48.18% 0.1349 -0.0561)
OKLCHoklch(48.18% 0.146 337.4)
XYZxyz(16.2222, 9.9094, 19.7934)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F367B #368F4A
analogous
#76368F #8F367B #8F364E
triadic
#8F367B #7B8F36 #367B8F
tetradic
#8F367B #8F7636 #368F4A #364E8F
square
#8F367B #8F7636 #368F4A #364E8F
split-complementary
#8F367B #4E8F36 #368F76
monochromatic
#36142F #632555 #8F367B #BA48A0 #CB75B7

Accessibility & contrast

On white

7.04
#8F367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F367B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F367B#FFFFFF#000000##FFFFFF
##8F367B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#963A53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f367b;
/* rgb */ color: rgb(143, 54, 123);
/* oklch */ color: oklch(48.2% 0.146 337.4);
Tailwind
colors: {
  custom: {
    50: '#b273a1',
    500: '#8f367b',
    950: '#000000',
  },
}
SCSS
$custom: #8f367b;
$custom-light: #b273a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f367b",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 313.483,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48181,
    "c": 0.14615,
    "h": 337.4
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#8F367B
secondary
#6DB37D
accent
#D57053
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8F367B

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

Preview Lab → · Contrast checker → · Palette generator →

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