#7E1C38#7E1C38

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

Color values

HEX#7E1C38
RGBrgb(126, 28, 56)
HSLhsl(343, 64%, 30%)
HSVhsv(343, 78%, 49%)
CMYKcmyk(0%, 77.8%, 55.6%, 50.6%)
CIE-LABlab(28.26, 43.18, 8.19)
CIE-LCHlch(28.26, 43.95, 10.75°)
OKLaboklab(39.86% 0.1312 0.0209)
OKLCHoklch(39.86% 0.133 9)
XYZxyz(9.7341, 5.5530, 4.2999)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C38 #1C7E62
analogous
#7E1C69 #7E1C38 #7E311C
triadic
#7E1C38 #387E1C #1C387E
tetradic
#7E1C38 #697E1C #1C7E62 #311C7E
square
#7E1C38 #697E1C #1C7E62 #311C7E
split-complementary
#7E1C38 #1C7E31 #1C697E
monochromatic
#1A060B #4C1122 #7E1C38 #B0274E #D5406A

Accessibility & contrast

On white

9.95
#7E1C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C38
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C38#FFFFFF#000000##FFFFFF
##7E1C381.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353639
Deuteranopia (green-blind)
#4F4A36
Tritanopia (blue-blind)
#8A0128
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1c38;
/* rgb */ color: rgb(126, 28, 56);
/* oklch */ color: oklch(39.9% 0.133 9.0);
Tailwind
colors: {
  custom: {
    50: '#a9626e',
    500: '#7e1c38',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c38;
$custom-light: #a9626e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c38",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 342.857,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3986,
    "c": 0.13288,
    "h": 9
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#7E1C38
secondary
#44B292
accent
#E7B741
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1C38

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

Preview Lab → · Contrast checker → · Palette generator →

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