#7E1C49#7E1C49

#7E1C49 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.138 H 357.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7E1C49
RGBrgb(126, 28, 73)
HSLhsl(332, 64%, 30%)
HSVhsv(332, 78%, 49%)
CMYKcmyk(0%, 77.8%, 42.1%, 50.6%)
CIE-LABlab(28.77, 44.81, -2.45)
CIE-LCHlch(28.77, 44.88, 356.88°)
OKLaboklab(40.41% 0.1377 -0.0059)
OKLCHoklch(40.41% 0.138 357.6)
XYZxyz(10.2228, 5.7485, 6.8733)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C49 #1C7E51
analogous
#7E1C7A #7E1C49 #7E201C
triadic
#7E1C49 #497E1C #1C497E
tetradic
#7E1C49 #7A7E1C #1C7E51 #201C7E
square
#7E1C49 #7A7E1C #1C7E51 #201C7E
split-complementary
#7E1C49 #1C7E20 #1C7A7E
monochromatic
#1A060F #4C112C #7E1C49 #B02766 #D54084

Accessibility & contrast

On white

9.77
#7E1C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C49
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C49#FFFFFF#000000##FFFFFF
##7E1C491.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31384A
Deuteranopia (green-blind)
#4C4A47
Tritanopia (blue-blind)
#890E30
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1c49;
/* rgb */ color: rgb(126, 28, 73);
/* oklch */ color: oklch(40.4% 0.138 357.6);
Tailwind
colors: {
  custom: {
    50: '#a8627b',
    500: '#7e1c49',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c49;
$custom-light: #a8627b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c49",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 332.449,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.13778,
    "h": 357.6
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#7E1C49
secondary
#44B27F
accent
#E79B41
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1C49

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

Preview Lab → · Contrast checker → · Palette generator →

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