#7E1E41#7E1E41

#7E1E41 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.133 H 3.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7E1E41
RGBrgb(126, 30, 65)
HSLhsl(338, 62%, 31%)
HSVhsv(338, 76%, 49%)
CMYKcmyk(0%, 76.2%, 48.4%, 50.6%)
CIE-LABlab(28.77, 43.27, 2.89)
CIE-LCHlch(28.77, 43.37, 3.82°)
OKLaboklab(40.32% 0.1325 0.0079)
OKLCHoklch(40.32% 0.133 3.4)
XYZxyz(10.0234, 5.7471, 5.5815)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E41 #1E7E5B
analogous
#7E1E71 #7E1E41 #7E2B1E
triadic
#7E1E41 #417E1E #1E417E
tetradic
#7E1E41 #717E1E #1E7E5B #2B1E7E
square
#7E1E41 #717E1E #1E7E5B #2B1E7E
split-complementary
#7E1E41 #1E7E2B #1E717E
monochromatic
#1B060E #4D1227 #7E1E41 #AF2A5A #D24478

Accessibility & contrast

On white

9.77
#7E1E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E41
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E41#FFFFFF#000000##FFFFFF
##7E1E411.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343842
Deuteranopia (green-blind)
#4E4B3F
Tritanopia (blue-blind)
#890C2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1e41;
/* rgb */ color: rgb(126, 30, 65);
/* oklch */ color: oklch(40.3% 0.133 3.4);
Tailwind
colors: {
  custom: {
    50: '#a86375',
    500: '#7e1e41',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e41;
$custom-light: #a86375;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e41",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 338.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40318,
    "c": 0.13272,
    "h": 3.4
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#7E1E41
secondary
#47B18A
accent
#E5AA43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1E41

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

Preview Lab → · Contrast checker → · Palette generator →

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