#7E1A40#7E1A40

#7E1A40 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.137 H 3.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7E1A40
RGBrgb(126, 26, 64)
HSLhsl(337, 66%, 30%)
HSVhsv(337, 79%, 49%)
CMYKcmyk(0%, 79.4%, 49.2%, 50.6%)
CIE-LABlab(28.24, 44.58, 2.79)
CIE-LCHlch(28.24, 44.66, 3.59°)
OKLaboklab(39.92% 0.1366 0.0076)
OKLCHoklch(39.92% 0.137 3.2)
XYZxyz(9.8998, 5.5459, 5.3987)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A40 #1A7E58
analogous
#7E1A72 #7E1A40 #7E261A
triadic
#7E1A40 #407E1A #1A407E
tetradic
#7E1A40 #727E1A #1A7E58 #261A7E
square
#7E1A40 #727E1A #1A7E58 #261A7E
split-complementary
#7E1A40 #1A7E26 #1A727E
monochromatic
#19050D #4B1026 #7E1A40 #B1245A #D73C77

Accessibility & contrast

On white

9.96
#7E1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A40
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A40#FFFFFF#000000##FFFFFF
##7E1A401.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4D4A3E
Tritanopia (blue-blind)
#89032B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a40;
/* rgb */ color: rgb(126, 26, 64);
/* oklch */ color: oklch(39.9% 0.137 3.2);
Tailwind
colors: {
  custom: {
    50: '#a86174',
    500: '#7e1a40',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a40;
$custom-light: #a86174;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a40",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 337.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.13681,
    "h": 3.2
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#7E1A40
secondary
#42B287
accent
#E9A83F
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1A40

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

Preview Lab → · Contrast checker → · Palette generator →

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