#8F2D5B#8F2D5B

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

Color values

HEX#8F2D5B
RGBrgb(143, 45, 91)
HSLhsl(332, 52%, 37%)
HSVhsv(332, 69%, 56%)
CMYKcmyk(0%, 68.5%, 36.4%, 43.9%)
CIE-LABlab(34.95, 45.42, -4.69)
CIE-LCHlch(34.95, 45.66, 354.10°)
OKLaboklab(45.75% 0.1389 -0.0118)
OKLCHoklch(45.75% 0.139 355.1)
XYZxyz(14.1552, 8.4734, 10.7856)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D5B #2D8F61
analogous
#8F2D8C #8F2D5B #8F302D
triadic
#8F2D5B #5B8F2D #2D5B8F
tetradic
#8F2D5B #8C8F2D #2D8F61 #302D8F
square
#8F2D5B #8C8F2D #2D8F61 #302D8F
split-complementary
#8F2D5B #2D8F30 #2D8C8F
monochromatic
#321020 #601E3D #8F2D5B #BE3C79 #CF6798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2D5B#FFFFFF#000000##FFFFFF
##8F2D5B1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475C
Deuteranopia (green-blind)
#595959
Tritanopia (blue-blind)
#9A2540
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2d5b;
/* rgb */ color: rgb(143, 45, 91);
/* oklch */ color: oklch(45.8% 0.139 355.1);
Tailwind
colors: {
  custom: {
    50: '#b46d89',
    500: '#8f2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d5b;
$custom-light: #b46d89;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d5b",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 331.837,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.13942,
    "h": 355.1
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#8F2D5B
secondary
#62B68E
accent
#DC984C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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