#8D274C#8D274C

#8D274C is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.2% C 0.140 H 2.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8D274C
RGBrgb(141, 39, 76)
HSLhsl(338, 57%, 35%)
HSVhsv(338, 72%, 55%)
CMYKcmyk(0%, 72.3%, 46.1%, 44.7%)
CIE-LABlab(33.22, 45.58, 2.42)
CIE-LCHlch(33.22, 45.65, 3.04°)
OKLaboklab(44.25% 0.1395 0.0067)
OKLCHoklch(44.25% 0.14 2.8)
XYZxyz(13.0155, 7.6372, 7.6248)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D274C #278D68
analogous
#8D277F #8D274C #8D3527
triadic
#8D274C #4C8D27 #274C8D
tetradic
#8D274C #7F8D27 #278D68 #35278D
square
#8D274C #7F8D27 #278D68 #35278D
split-complementary
#8D274C #278D35 #277F8D
monochromatic
#2D0C18 #5D1A32 #8D274C #BD3466 #D25C87

Accessibility & contrast

On white

8.31
#8D274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8D274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D274C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D274C#FFFFFF#000000##FFFFFF
##8D274C1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414D
Deuteranopia (green-blind)
#59554A
Tritanopia (blue-blind)
#991736
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d274c;
/* rgb */ color: rgb(141, 39, 76);
/* oklch */ color: oklch(44.2% 0.140 2.8);
Tailwind
colors: {
  custom: {
    50: '#b3697d',
    500: '#8d274c',
    950: '#000000',
  },
}
SCSS
$custom: #8d274c;
$custom-light: #b3697d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d274c",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 338.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44245,
    "c": 0.13967,
    "h": 2.8
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#8D274C
secondary
#59B795
accent
#E0A948
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8D274C

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

Preview Lab → · Contrast checker → · Palette generator →

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