#7E1E46#7E1E46

#7E1E46 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.134 H 360.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E1E46
RGBrgb(126, 30, 70)
HSLhsl(335, 62%, 31%)
HSVhsv(335, 76%, 49%)
CMYKcmyk(0%, 76.2%, 44.4%, 50.6%)
CIE-LABlab(28.92, 43.78, -0.22)
CIE-LCHlch(28.92, 43.78, 359.71°)
OKLaboklab(40.49% 0.1343 -0.0001)
OKLCHoklch(40.49% 0.134 0)
XYZxyz(10.1747, 5.8077, 6.3784)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E46 #1E7E56
analogous
#7E1E76 #7E1E46 #7E261E
triadic
#7E1E46 #467E1E #1E467E
tetradic
#7E1E46 #767E1E #1E7E56 #261E7E
square
#7E1E46 #767E1E #1E7E56 #261E7E
split-complementary
#7E1E46 #1E7E26 #1E767E
monochromatic
#1B060F #4D122B #7E1E46 #AF2A61 #D2447F

Accessibility & contrast

On white

9.72
#7E1E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E46
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E46#FFFFFF#000000##FFFFFF
##7E1E461.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333847
Deuteranopia (green-blind)
#4D4B44
Tritanopia (blue-blind)
#890F2F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1e46;
/* rgb */ color: rgb(126, 30, 70);
/* oklch */ color: oklch(40.5% 0.134 360.0);
Tailwind
colors: {
  custom: {
    50: '#a86379',
    500: '#7e1e46',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e46;
$custom-light: #a86379;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e46",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 335,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.13434,
    "h": 360
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#7E1E46
secondary
#47B185
accent
#E5A143
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1E46

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

Preview Lab → · Contrast checker → · Palette generator →

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