#7E1C42#7E1C42

#7E1C42 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.135 H 2.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7E1C42
RGBrgb(126, 28, 66)
HSLhsl(337, 64%, 30%)
HSVhsv(337, 78%, 49%)
CMYKcmyk(0%, 77.8%, 47.6%, 50.6%)
CIE-LABlab(28.54, 44.09, 1.89)
CIE-LCHlch(28.54, 44.13, 2.46°)
OKLaboklab(40.16% 0.1352 0.0054)
OKLCHoklch(40.16% 0.135 2.3)
XYZxyz(10.0036, 5.6608, 5.7191)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C42 #1C7E58
analogous
#7E1C73 #7E1C42 #7E271C
triadic
#7E1C42 #427E1C #1C427E
tetradic
#7E1C42 #737E1C #1C7E58 #271C7E
square
#7E1C42 #737E1C #1C7E58 #271C7E
split-complementary
#7E1C42 #1C7E27 #1C737E
monochromatic
#1A060E #4C1128 #7E1C42 #B0275C #D5407A

Accessibility & contrast

On white

9.85
#7E1C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C42
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C42#FFFFFF#000000##FFFFFF
##7E1C421.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333743
Deuteranopia (green-blind)
#4D4A40
Tritanopia (blue-blind)
#89082C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1c42;
/* rgb */ color: rgb(126, 28, 66);
/* oklch */ color: oklch(40.2% 0.135 2.3);
Tailwind
colors: {
  custom: {
    50: '#a86276',
    500: '#7e1c42',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c42;
$custom-light: #a86276;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c42",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 336.735,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40162,
    "c": 0.13527,
    "h": 2.3
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#7E1C42
secondary
#44B287
accent
#E7A641
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1C42

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

Preview Lab → · Contrast checker → · Palette generator →

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