#8F2E55#8F2E55

#8F2E55 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.136 H 359.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8F2E55
RGBrgb(143, 46, 85)
HSLhsl(336, 51%, 37%)
HSVhsv(336, 68%, 56%)
CMYKcmyk(0%, 67.8%, 40.6%, 43.9%)
CIE-LABlab(34.91, 44.29, -0.90)
CIE-LCHlch(34.91, 44.30, 358.83°)
OKLaboklab(45.66% 0.1356 -0.0018)
OKLCHoklch(45.66% 0.136 359.2)
XYZxyz(13.9453, 8.4512, 9.4894)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E55 #2E8F68
analogous
#8F2E86 #8F2E55 #8F372E
triadic
#8F2E55 #558F2E #2E558F
tetradic
#8F2E55 #868F2E #2E8F68 #372E8F
square
#8F2E55 #868F2E #2E8F68 #372E8F
split-complementary
#8F2E55 #2E8F37 #2E868F
monochromatic
#32101E #611F39 #8F2E55 #BD3D71 #CF6992

Accessibility & contrast

On white

7.81
#8F2E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F2E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E55
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E55#FFFFFF#000000##FFFFFF
##8F2E551.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404656
Deuteranopia (green-blind)
#5B5953
Tritanopia (blue-blind)
#9B243E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2e55;
/* rgb */ color: rgb(143, 46, 85);
/* oklch */ color: oklch(45.7% 0.136 359.2);
Tailwind
colors: {
  custom: {
    50: '#b46d84',
    500: '#8f2e55',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e55;
$custom-light: #b46d84;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e55",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 335.876,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45655,
    "c": 0.13556,
    "h": 359.2
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#8F2E55
secondary
#63B694
accent
#DBA24D
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2E55

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

Preview Lab → · Contrast checker → · Palette generator →

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