#7E1A41#7E1A41

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

Color values

HEX#7E1A41
RGBrgb(126, 26, 65)
HSLhsl(337, 66%, 30%)
HSVhsv(337, 79%, 49%)
CMYKcmyk(0%, 79.4%, 48.4%, 50.6%)
CIE-LABlab(28.27, 44.67, 2.17)
CIE-LCHlch(28.27, 44.72, 2.78°)
OKLaboklab(39.95% 0.137 0.006)
OKLCHoklch(39.95% 0.137 2.5)
XYZxyz(9.9285, 5.5574, 5.5499)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A41 #1A7E57
analogous
#7E1A73 #7E1A41 #7E251A
triadic
#7E1A41 #417E1A #1A417E
tetradic
#7E1A41 #737E1A #1A7E57 #251A7E
square
#7E1A41 #737E1A #1A7E57 #251A7E
split-complementary
#7E1A41 #1A7E25 #1A737E
monochromatic
#19050D #4B1027 #7E1A41 #B1245B #D73C78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1A41#FFFFFF#000000##FFFFFF
##7E1A411.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)
#323642
Deuteranopia (green-blind)
#4D4A3F
Tritanopia (blue-blind)
#89032B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a41;
/* rgb */ color: rgb(126, 26, 65);
/* oklch */ color: oklch(40.0% 0.137 2.5);
Tailwind
colors: {
  custom: {
    50: '#a86175',
    500: '#7e1a41',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a41;
$custom-light: #a86175;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a41",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 336.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.13711,
    "h": 2.5
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#7E1A41
secondary
#42B286
accent
#E9A73F
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1A41

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

Preview Lab → · Contrast checker → · Palette generator →

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