#7E1A46#7E1A46

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

Color values

HEX#7E1A46
RGBrgb(126, 26, 70)
HSLhsl(334, 66%, 30%)
HSVhsv(334, 79%, 49%)
CMYKcmyk(0%, 79.4%, 44.4%, 50.6%)
CIE-LABlab(28.43, 45.17, -0.95)
CIE-LCHlch(28.43, 45.18, 358.80°)
OKLaboklab(40.12% 0.1388 -0.0019)
OKLCHoklch(40.12% 0.139 359.2)
XYZxyz(10.0798, 5.6179, 6.3467)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A46 #1A7E52
analogous
#7E1A78 #7E1A46 #7E201A
triadic
#7E1A46 #467E1A #1A467E
tetradic
#7E1A46 #787E1A #1A7E52 #201A7E
square
#7E1A46 #787E1A #1A7E52 #201A7E
split-complementary
#7E1A46 #1A7E20 #1A787E
monochromatic
#19050E #4B102A #7E1A46 #B12462 #D73C80

Accessibility & contrast

On white

9.89
#7E1A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A46
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A46#FFFFFF#000000##FFFFFF
##7E1A461.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303747
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#89082D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a46;
/* rgb */ color: rgb(126, 26, 70);
/* oklch */ color: oklch(40.1% 0.139 359.2);
Tailwind
colors: {
  custom: {
    50: '#a86179',
    500: '#7e1a46',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a46;
$custom-light: #a86179;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a46",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 333.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.1388,
    "h": 359.2
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#7E1A46
secondary
#42B281
accent
#E99E3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1A46

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

Preview Lab → · Contrast checker → · Palette generator →

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