#8F276E#8F276E

#8F276E is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.158 H 343.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8F276E
RGBrgb(143, 39, 110)
HSLhsl(319, 57%, 36%)
HSVhsv(319, 73%, 56%)
CMYKcmyk(0%, 72.7%, 23.1%, 43.9%)
CIE-LABlab(34.84, 50.28, -16.98)
CIE-LCHlch(34.84, 53.07, 341.34°)
OKLaboklab(45.92% 0.1513 -0.0454)
OKLCHoklch(45.92% 0.158 343.3)
XYZxyz(14.8682, 8.4180, 15.5906)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F276E #278F48
analogous
#7C278F #8F276E #8F273A
triadic
#8F276E #6E8F27 #276E8F
tetradic
#8F276E #8F7C27 #278F48 #273A8F
square
#8F276E #8F7C27 #278F48 #273A8F
split-complementary
#8F276E #3A8F27 #278F7C
monochromatic
#2F0D24 #5F1A49 #8F276E #BF3493 #D35DAE

Accessibility & contrast

On white

7.83
#8F276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F276E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F276E#FFFFFF#000000##FFFFFF
##8F276E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314770
Deuteranopia (green-blind)
#51586C
Tritanopia (blue-blind)
#982747
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f276e;
/* rgb */ color: rgb(143, 39, 110);
/* oklch */ color: oklch(45.9% 0.158 343.3);
Tailwind
colors: {
  custom: {
    50: '#b36b97',
    500: '#8f276e',
    950: '#000000',
  },
}
SCSS
$custom: #8f276e;
$custom-light: #b36b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f276e",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 319.038,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.15799,
    "h": 343.3
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#8F276E
secondary
#5AB878
accent
#E07847
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F276E

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

Preview Lab → · Contrast checker → · Palette generator →

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