#8C274E#8C274E

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

Color values

HEX#8C274E
RGBrgb(140, 39, 78)
HSLhsl(337, 56%, 35%)
HSVhsv(337, 72%, 55%)
CMYKcmyk(0%, 72.1%, 44.3%, 45.1%)
CIE-LABlab(33.09, 45.48, 0.91)
CIE-LCHlch(33.09, 45.49, 1.14°)
OKLaboklab(44.14% 0.1393 0.0029)
OKLCHoklch(44.14% 0.139 1.2)
XYZxyz(12.9168, 7.5782, 7.9888)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C274E #278C65
analogous
#8C2780 #8C274E #8C3327
triadic
#8C274E #4E8C27 #274E8C
tetradic
#8C274E #808C27 #278C65 #33278C
square
#8C274E #808C27 #278C65 #33278C
split-complementary
#8C274E #278C33 #27808C
monochromatic
#2C0C19 #5C1A33 #8C274E #BC3469 #D25C89

Accessibility & contrast

On white

8.35
#8C274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8C274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C274E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C274E#FFFFFF#000000##FFFFFF
##8C274E1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#57554C
Tritanopia (blue-blind)
#981937
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c274e;
/* rgb */ color: rgb(140, 39, 78);
/* oklch */ color: oklch(44.1% 0.139 1.2);
Tailwind
colors: {
  custom: {
    50: '#b2697f',
    500: '#8c274e',
    950: '#000000',
  },
}
SCSS
$custom: #8c274e;
$custom-light: #b2697f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c274e",
  "rgb": {
    "r": 140,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 336.832,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44136,
    "c": 0.13934,
    "h": 1.2
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#8C274E
secondary
#58B792
accent
#E0A548
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8C274E

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

Preview Lab → · Contrast checker → · Palette generator →

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