#7E1A3C#7E1A3C

#7E1A3C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.136 H 5.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7E1A3C
RGBrgb(126, 26, 60)
HSLhsl(340, 66%, 30%)
HSVhsv(340, 79%, 49%)
CMYKcmyk(0%, 79.4%, 52.4%, 50.6%)
CIE-LABlab(28.12, 44.21, 5.32)
CIE-LCHlch(28.12, 44.53, 6.86°)
OKLaboklab(39.8% 0.1351 0.0139)
OKLCHoklch(39.8% 0.136 5.9)
XYZxyz(9.7901, 5.5020, 4.8206)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A3C #1A7E5C
analogous
#7E1A6E #7E1A3C #7E2A1A
triadic
#7E1A3C #3C7E1A #1A3C7E
tetradic
#7E1A3C #6E7E1A #1A7E5C #2A1A7E
square
#7E1A3C #6E7E1A #1A7E5C #2A1A7E
split-complementary
#7E1A3C #1A7E2A #1A6E7E
monochromatic
#19050C #4B1024 #7E1A3C #B12454 #D73C70

Accessibility & contrast

On white

10.00
#7E1A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A3C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A3C#FFFFFF#000000##FFFFFF
##7E1A3C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363D
Deuteranopia (green-blind)
#4E493A
Tritanopia (blue-blind)
#8A0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1a3c;
/* rgb */ color: rgb(126, 26, 60);
/* oklch */ color: oklch(39.8% 0.136 5.9);
Tailwind
colors: {
  custom: {
    50: '#a96171',
    500: '#7e1a3c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a3c;
$custom-light: #a96171;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a3c",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 339.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.13576,
    "h": 5.9
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#7E1A3C
secondary
#42B28C
accent
#E9AF3F
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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