#8F2E70#8F2E70

#8F2E70 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.150 H 342.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8F2E70
RGBrgb(143, 46, 112)
HSLhsl(319, 51%, 37%)
HSVhsv(319, 68%, 56%)
CMYKcmyk(0%, 67.8%, 21.7%, 43.9%)
CIE-LABlab(35.92, 47.80, -16.58)
CIE-LCHlch(35.92, 50.59, 340.86°)
OKLaboklab(46.73% 0.1433 -0.0443)
OKLCHoklch(46.73% 0.15 342.8)
XYZxyz(15.2298, 8.9649, 16.2544)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E70 #2E8F4D
analogous
#7E2E8F #8F2E70 #8F2E40
triadic
#8F2E70 #708F2E #2E708F
tetradic
#8F2E70 #8F7E2E #2E8F4D #2E408F
square
#8F2E70 #8F7E2E #2E8F4D #2E408F
split-complementary
#8F2E70 #408F2E #2E8F7E
monochromatic
#321027 #611F4C #8F2E70 #BD3D94 #CF69AE

Accessibility & contrast

On white

7.52
#8F2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F2E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E70
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E70#FFFFFF#000000##FFFFFF
##8F2E701.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A72
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#982E4B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2e70;
/* rgb */ color: rgb(143, 46, 112);
/* oklch */ color: oklch(46.7% 0.150 342.8);
Tailwind
colors: {
  custom: {
    50: '#b36e99',
    500: '#8f2e70',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e70;
$custom-light: #b36e99;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e70",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 319.175,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.15,
    "h": 342.8
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#8F2E70
secondary
#63B67E
accent
#DB7A4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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