#8F2865#8F2865

#8F2865 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.151 H 348.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8F2865
RGBrgb(143, 40, 101)
HSLhsl(324, 56%, 36%)
HSVhsv(324, 72%, 56%)
CMYKcmyk(0%, 72%, 29.4%, 43.9%)
CIE-LABlab(34.60, 48.68, -11.63)
CIE-LCHlch(34.60, 50.05, 346.57°)
OKLaboklab(45.62% 0.1481 -0.0305)
OKLCHoklch(45.62% 0.151 348.3)
XYZxyz(14.4361, 8.2984, 13.1509)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2865 #288F52
analogous
#85288F #8F2865 #8F2831
triadic
#8F2865 #658F28 #28658F
tetradic
#8F2865 #8F8528 #288F52 #28318F
square
#8F2865 #8F8528 #288F52 #28318F
split-complementary
#8F2865 #318F28 #288F85
monochromatic
#2F0D21 #5F1B43 #8F2865 #BF3587 #D25FA3

Accessibility & contrast

On white

7.90
#8F2865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F2865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2865
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2865#FFFFFF#000000##FFFFFF
##8F28651.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364667
Deuteranopia (green-blind)
#545863
Tritanopia (blue-blind)
#992443
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2865;
/* rgb */ color: rgb(143, 40, 101);
/* oklch */ color: oklch(45.6% 0.151 348.3);
Tailwind
colors: {
  custom: {
    50: '#b36b91',
    500: '#8f2865',
    950: '#000000',
  },
}
SCSS
$custom: #8f2865;
$custom-light: #b36b91;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2865",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 324.466,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.15124,
    "h": 348.3
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#8F2865
secondary
#5BB881
accent
#E08648
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8F2865

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

Preview Lab → · Contrast checker → · Palette generator →

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