#7E1A3D#7E1A3D

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

Color values

HEX#7E1A3D
RGBrgb(126, 26, 61)
HSLhsl(339, 66%, 30%)
HSVhsv(339, 79%, 49%)
CMYKcmyk(0%, 79.4%, 51.6%, 50.6%)
CIE-LABlab(28.15, 44.30, 4.68)
CIE-LCHlch(28.15, 44.54, 6.04°)
OKLaboklab(39.83% 0.1354 0.0123)
OKLCHoklch(39.83% 0.136 5.2)
XYZxyz(9.8167, 5.5127, 4.9611)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A3D #1A7E5B
analogous
#7E1A6F #7E1A3D #7E291A
triadic
#7E1A3D #3D7E1A #1A3D7E
tetradic
#7E1A3D #6F7E1A #1A7E5B #291A7E
square
#7E1A3D #6F7E1A #1A7E5B #291A7E
split-complementary
#7E1A3D #1A7E29 #1A6F7E
monochromatic
#19050C #4B1024 #7E1A3D #B12456 #D73C72

Accessibility & contrast

On white

9.99
#7E1A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A3D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A3D#FFFFFF#000000##FFFFFF
##7E1A3D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1a3d;
/* rgb */ color: rgb(126, 26, 61);
/* oklch */ color: oklch(39.8% 0.136 5.2);
Tailwind
colors: {
  custom: {
    50: '#a96172',
    500: '#7e1a3d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a3d;
$custom-light: #a96172;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a3d",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 339,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.13601,
    "h": 5.2
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#7E1A3D
secondary
#42B28B
accent
#E9AD3F
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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