#8C274D#8C274D

#8C274D is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.139 H 1.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8C274D
RGBrgb(140, 39, 77)
HSLhsl(337, 56%, 35%)
HSVhsv(337, 72%, 55%)
CMYKcmyk(0%, 72.1%, 45%, 45.1%)
CIE-LABlab(33.06, 45.37, 1.51)
CIE-LCHlch(33.06, 45.40, 1.91°)
OKLaboklab(44.1% 0.139 0.0044)
OKLCHoklch(44.1% 0.139 1.8)
XYZxyz(12.8813, 7.5639, 7.8014)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C274D #278C66
analogous
#8C277F #8C274D #8C3427
triadic
#8C274D #4D8C27 #274D8C
tetradic
#8C274D #7F8C27 #278C66 #34278C
square
#8C274D #7F8C27 #278C66 #34278C
split-complementary
#8C274D #278C34 #277F8C
monochromatic
#2C0C18 #5C1A33 #8C274D #BC3467 #D25C88

Accessibility & contrast

On white

8.36
#8C274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8C274D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C274D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C274D#FFFFFF#000000##FFFFFF
##8C274D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#58554B
Tritanopia (blue-blind)
#981837
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c274d;
/* rgb */ color: rgb(140, 39, 77);
/* oklch */ color: oklch(44.1% 0.139 1.8);
Tailwind
colors: {
  custom: {
    50: '#b2697e',
    500: '#8c274d',
    950: '#000000',
  },
}
SCSS
$custom: #8c274d;
$custom-light: #b2697e;
$custom-dark: #000000;
JSON
{
  "hex": "#8c274d",
  "rgb": {
    "r": 140,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 337.426,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44103,
    "c": 0.13902,
    "h": 1.8
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#8C274D
secondary
#58B793
accent
#E0A748
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8C274D

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

Preview Lab → · Contrast checker → · Palette generator →

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