#8F2D5A#8F2D5A

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

Color values

HEX#8F2D5A
RGBrgb(143, 45, 90)
HSLhsl(332, 52%, 37%)
HSVhsv(332, 69%, 56%)
CMYKcmyk(0%, 68.5%, 37.1%, 43.9%)
CIE-LABlab(34.92, 45.30, -4.10)
CIE-LCHlch(34.92, 45.49, 354.82°)
OKLaboklab(45.72% 0.1386 -0.0102)
OKLCHoklch(45.72% 0.139 355.8)
XYZxyz(14.1124, 8.4562, 10.5599)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D5A #2D8F62
analogous
#8F2D8B #8F2D5A #8F312D
triadic
#8F2D5A #5A8F2D #2D5A8F
tetradic
#8F2D5A #8B8F2D #2D8F62 #312D8F
square
#8F2D5A #8B8F2D #2D8F62 #312D8F
split-complementary
#8F2D5A #2D8F31 #2D8B8F
monochromatic
#32101F #601E3D #8F2D5A #BE3C77 #CF6797

Accessibility & contrast

On white

7.80
#8F2D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2D5A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D5A#FFFFFF#000000##FFFFFF
##8F2D5A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475B
Deuteranopia (green-blind)
#595958
Tritanopia (blue-blind)
#9A2440
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2d5a;
/* rgb */ color: rgb(143, 45, 90);
/* oklch */ color: oklch(45.7% 0.139 355.8);
Tailwind
colors: {
  custom: {
    50: '#b46d88',
    500: '#8f2d5a',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d5a;
$custom-light: #b46d88;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d5a",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 332.449,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.13898,
    "h": 355.8
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#8F2D5A
secondary
#62B68F
accent
#DC9A4C
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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