#8F2D79#8F2D79

#8F2D79 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.158 H 338.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F2D79
RGBrgb(143, 45, 121)
HSLhsl(313, 52%, 37%)
HSVhsv(313, 69%, 56%)
CMYKcmyk(0%, 68.5%, 15.4%, 43.9%)
CIE-LABlab(36.17, 49.56, -21.84)
CIE-LCHlch(36.17, 54.16, 336.22°)
OKLaboklab(47.05% 0.1462 -0.0591)
OKLCHoklch(47.05% 0.158 338)
XYZxyz(15.7176, 9.0983, 19.0138)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D79 #2D8F43
analogous
#742D8F #8F2D79 #8F2D48
triadic
#8F2D79 #798F2D #2D798F
tetradic
#8F2D79 #8F742D #2D8F43 #2D488F
square
#8F2D79 #8F742D #2D8F43 #2D488F
split-complementary
#8F2D79 #488F2D #2D8F74
monochromatic
#32102A #601E52 #8F2D79 #BE3CA0 #CF67B8

Accessibility & contrast

On white

7.45
#8F2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D79
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D79#FFFFFF#000000##FFFFFF
##8F2D791.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#97314F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2d79;
/* rgb */ color: rgb(143, 45, 121);
/* oklch */ color: oklch(47.0% 0.158 338.0);
Tailwind
colors: {
  custom: {
    50: '#b36ea0',
    500: '#8f2d79',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d79;
$custom-light: #b36ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d79",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 313.469,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4705,
    "c": 0.15773,
    "h": 338
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#8F2D79
secondary
#62B675
accent
#DC6C4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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