#7E274A#7E274A

#7E274A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.124 H 359.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7E274A
RGBrgb(126, 39, 74)
HSLhsl(336, 53%, 32%)
HSVhsv(336, 69%, 49%)
CMYKcmyk(0%, 69%, 41.3%, 50.6%)
CIE-LABlab(30.36, 40.60, -0.77)
CIE-LCHlch(30.36, 40.61, 358.91°)
OKLaboklab(41.59% 0.1243 -0.0015)
OKLCHoklch(41.59% 0.124 359.3)
XYZxyz(10.5664, 6.3823, 7.1527)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E274A #277E5B
analogous
#7E2776 #7E274A #7E3027
triadic
#7E274A #4A7E27 #274A7E
tetradic
#7E274A #767E27 #277E5B #30277E
square
#7E274A #767E27 #277E5B #30277E
split-complementary
#7E274A #277E30 #27767E
monochromatic
#210A13 #4F192F #7E274A #AD3565 #CA5584

Accessibility & contrast

On white

9.23
#7E274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E274A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E274A#FFFFFF#000000##FFFFFF
##7E274A1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D4B
Deuteranopia (green-blind)
#4F4E48
Tritanopia (blue-blind)
#881E35
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e274a;
/* rgb */ color: rgb(126, 39, 74);
/* oklch */ color: oklch(41.6% 0.124 359.3);
Tailwind
colors: {
  custom: {
    50: '#a7677c',
    500: '#7e274a',
    950: '#000000',
  },
}
SCSS
$custom: #7e274a;
$custom-light: #a7677c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e274a",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 335.862,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.12428,
    "h": 359.3
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#7E274A
secondary
#52AF8A
accent
#DCA24C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E274A

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

Preview Lab → · Contrast checker → · Palette generator →

#7E274A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva