#7E1741#7E1741

#7E1741 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.140 H 2.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7E1741
RGBrgb(126, 23, 65)
HSLhsl(336, 69%, 29%)
HSVhsv(336, 82%, 49%)
CMYKcmyk(0%, 81.7%, 48.4%, 50.6%)
CIE-LABlab(27.93, 45.63, 1.68)
CIE-LCHlch(27.93, 45.66, 2.11°)
OKLaboklab(39.7% 0.1401 0.0048)
OKLCHoklch(39.7% 0.14 2)
XYZxyz(9.8655, 5.4314, 5.5289)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1741 #177E54
analogous
#7E1775 #7E1741 #7E2117
triadic
#7E1741 #417E17 #17417E
tetradic
#7E1741 #757E17 #177E54 #21177E
square
#7E1741 #757E17 #177E54 #21177E
split-complementary
#7E1741 #177E21 #17757E
monochromatic
#1A050D #4A0E26 #7E1741 #B2205C #DA3578

Accessibility & contrast

On white

10.07
#7E1741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1741
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1741#FFFFFF#000000##FFFFFF
##7E17411.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303542
Deuteranopia (green-blind)
#4C493F
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1741;
/* rgb */ color: rgb(126, 23, 65);
/* oklch */ color: oklch(39.7% 0.140 2.0);
Tailwind
colors: {
  custom: {
    50: '#a86075',
    500: '#7e1741',
    950: '#000000',
  },
}
SCSS
$custom: #7e1741;
$custom-light: #a86075;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1741",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 335.534,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39704,
    "c": 0.14013,
    "h": 2
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#7E1741
secondary
#3EB383
accent
#ECA43C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1741

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

Preview Lab → · Contrast checker → · Palette generator →

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