#7E1034#7E1034

#7E1034 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.143 H 9.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7E1034
RGBrgb(126, 16, 52)
HSLhsl(340, 77%, 28%)
HSVhsv(340, 87%, 49%)
CMYKcmyk(0%, 87.3%, 58.7%, 50.6%)
CIE-LABlab(26.89, 46.43, 9.01)
CIE-LCHlch(26.89, 47.29, 10.98°)
OKLaboklab(38.82% 0.1411 0.0227)
OKLCHoklch(38.82% 0.143 9.1)
XYZxyz(9.4103, 5.0555, 3.7285)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1034 #107E5A
analogous
#7E106B #7E1034 #7E2310
triadic
#7E1034 #347E10 #10347E
tetradic
#7E1034 #6B7E10 #107E5A #23107E
square
#7E1034 #6B7E10 #107E5A #23107E
split-complementary
#7E1034 #107E23 #106B7E
monochromatic
#1B030B #48091E #7E1034 #B4174A #E32563

Accessibility & contrast

On white

10.44
#7E1034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1034
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1034#FFFFFF#000000##FFFFFF
##7E10341.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313235
Deuteranopia (green-blind)
#4D4731
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1034;
/* rgb */ color: rgb(126, 16, 52);
/* oklch */ color: oklch(38.8% 0.143 9.1);
Tailwind
colors: {
  custom: {
    50: '#aa5d6b',
    500: '#7e1034',
    950: '#000000',
  },
}
SCSS
$custom: #7e1034;
$custom-light: #aa5d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1034",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 340.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38822,
    "c": 0.14294,
    "h": 9.1
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#7E1034
secondary
#36B48B
accent
#F4B534
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1034

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

Preview Lab → · Contrast checker → · Palette generator →

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