#8F2E57#8F2E57

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

Color values

HEX#8F2E57
RGBrgb(143, 46, 87)
HSLhsl(335, 51%, 37%)
HSVhsv(335, 68%, 56%)
CMYKcmyk(0%, 67.8%, 39.2%, 43.9%)
CIE-LABlab(34.97, 44.52, -2.10)
CIE-LCHlch(34.97, 44.57, 357.30°)
OKLaboklab(45.72% 0.1363 -0.0049)
OKLCHoklch(45.72% 0.136 357.9)
XYZxyz(14.0259, 8.4834, 9.9138)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E57 #2E8F66
analogous
#8F2E88 #8F2E57 #8F352E
triadic
#8F2E57 #578F2E #2E578F
tetradic
#8F2E57 #888F2E #2E8F66 #352E8F
square
#8F2E57 #888F2E #2E8F66 #352E8F
split-complementary
#8F2E57 #2E8F35 #2E888F
monochromatic
#32101F #611F3B #8F2E57 #BD3D73 #CF6994

Accessibility & contrast

On white

7.79
#8F2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F2E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E57
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E57#FFFFFF#000000##FFFFFF
##8F2E571.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404758
Deuteranopia (green-blind)
#5A5955
Tritanopia (blue-blind)
#9B243F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2e57;
/* rgb */ color: rgb(143, 46, 87);
/* oklch */ color: oklch(45.7% 0.136 357.9);
Tailwind
colors: {
  custom: {
    50: '#b46d86',
    500: '#8f2e57',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e57;
$custom-light: #b46d86;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e57",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 334.639,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45724,
    "c": 0.13634,
    "h": 357.9
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#8F2E57
secondary
#63B693
accent
#DB9F4D
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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