#8F275C#8F275C

#8F275C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.148 H 353.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8F275C
RGBrgb(143, 39, 92)
HSLhsl(329, 57%, 36%)
HSVhsv(329, 73%, 56%)
CMYKcmyk(0%, 72.7%, 35.7%, 43.9%)
CIE-LABlab(34.12, 47.94, -6.58)
CIE-LCHlch(34.12, 48.39, 352.19°)
OKLaboklab(45.15% 0.1468 -0.0168)
OKLCHoklch(45.15% 0.148 353.5)
XYZxyz(13.9858, 8.0650, 10.9433)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F275C #278F5A
analogous
#8E278F #8F275C #8F2728
triadic
#8F275C #5C8F27 #275C8F
tetradic
#8F275C #8F8E27 #278F5A #27288F
square
#8F275C #8F8E27 #278F5A #27288F
split-complementary
#8F275C #288F27 #278F8E
monochromatic
#2F0D1E #5F1A3D #8F275C #BF347B #D35D99

Accessibility & contrast

On white

8.04
#8F275C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F275C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F275C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F275C#FFFFFF#000000##FFFFFF
##8F275C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445D
Deuteranopia (green-blind)
#56575A
Tritanopia (blue-blind)
#9A1E3E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f275c;
/* rgb */ color: rgb(143, 39, 92);
/* oklch */ color: oklch(45.2% 0.148 353.5);
Tailwind
colors: {
  custom: {
    50: '#b46a8a',
    500: '#8f275c',
    950: '#000000',
  },
}
SCSS
$custom: #8f275c;
$custom-light: #b46a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f275c",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 329.423,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.14777,
    "h": 353.5
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#8F275C
secondary
#5AB888
accent
#E09247
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F275C

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

Preview Lab → · Contrast checker → · Palette generator →

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