#7E1A44#7E1A44

#7E1A44 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.138 H 0.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7E1A44
RGBrgb(126, 26, 68)
HSLhsl(335, 66%, 30%)
HSVhsv(335, 79%, 49%)
CMYKcmyk(0%, 79.4%, 46%, 50.6%)
CIE-LABlab(28.36, 44.97, 0.29)
CIE-LCHlch(28.36, 44.97, 0.38°)
OKLaboklab(40.05% 0.1381 0.0013)
OKLCHoklch(40.05% 0.138 0.5)
XYZxyz(10.0178, 5.5931, 6.0198)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A44 #1A7E54
analogous
#7E1A76 #7E1A44 #7E221A
triadic
#7E1A44 #447E1A #1A447E
tetradic
#7E1A44 #767E1A #1A7E54 #221A7E
square
#7E1A44 #767E1A #1A7E54 #221A7E
split-complementary
#7E1A44 #1A7E22 #1A767E
monochromatic
#19050E #4B1029 #7E1A44 #B1245F #D73C7D

Accessibility & contrast

On white

9.91
#7E1A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A44
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A44#FFFFFF#000000##FFFFFF
##7E1A441.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313745
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#89062C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a44;
/* rgb */ color: rgb(126, 26, 68);
/* oklch */ color: oklch(40.1% 0.138 0.5);
Tailwind
colors: {
  custom: {
    50: '#a86177',
    500: '#7e1a44',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a44;
$custom-light: #a86177;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a44",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 334.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40052,
    "c": 0.13809,
    "h": 0.5
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#7E1A44
secondary
#42B283
accent
#E9A13F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7E1A44

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

Preview Lab → · Contrast checker → · Palette generator →

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