#7E1C39#7E1C39

#7E1C39 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.133 H 8.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7E1C39
RGBrgb(126, 28, 57)
HSLhsl(342, 64%, 30%)
HSVhsv(342, 78%, 49%)
CMYKcmyk(0%, 77.8%, 54.8%, 50.6%)
CIE-LABlab(28.28, 43.26, 7.56)
CIE-LCHlch(28.28, 43.92, 9.91°)
OKLaboklab(39.89% 0.1316 0.0194)
OKLCHoklch(39.89% 0.133 8.4)
XYZxyz(9.7589, 5.5629, 4.4300)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C39 #1C7E61
analogous
#7E1C6A #7E1C39 #7E301C
triadic
#7E1C39 #397E1C #1C397E
tetradic
#7E1C39 #6A7E1C #1C7E61 #301C7E
square
#7E1C39 #6A7E1C #1C7E61 #301C7E
split-complementary
#7E1C39 #1C7E30 #1C6A7E
monochromatic
#1A060C #4C1122 #7E1C39 #B02750 #D5406C

Accessibility & contrast

On white

9.94
#7E1C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C39
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C39#FFFFFF#000000##FFFFFF
##7E1C391.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35363A
Deuteranopia (green-blind)
#4F4A37
Tritanopia (blue-blind)
#8A0228
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1c39;
/* rgb */ color: rgb(126, 28, 57);
/* oklch */ color: oklch(39.9% 0.133 8.4);
Tailwind
colors: {
  custom: {
    50: '#a9626f',
    500: '#7e1c39',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c39;
$custom-light: #a9626f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c39",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 342.245,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.13306,
    "h": 8.4
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7E1C39
secondary
#44B291
accent
#E7B641
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1C39

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

Preview Lab → · Contrast checker → · Palette generator →

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