#7E1642#7E1642

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

Color values

HEX#7E1642
RGBrgb(126, 22, 66)
HSLhsl(335, 70%, 29%)
HSVhsv(335, 83%, 49%)
CMYKcmyk(0%, 82.5%, 47.6%, 50.6%)
CIE-LABlab(27.86, 46.02, 0.90)
CIE-LCHlch(27.86, 46.03, 1.12°)
OKLaboklab(39.66% 0.1414 0.0028)
OKLCHoklch(39.66% 0.141 1.1)
XYZxyz(9.8753, 5.4041, 5.6763)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1642 #167E52
analogous
#7E1676 #7E1642 #7E1E16
triadic
#7E1642 #427E16 #16427E
tetradic
#7E1642 #767E16 #167E52 #1E167E
square
#7E1642 #767E16 #167E52 #1E167E
split-complementary
#7E1642 #167E1E #16767E
monochromatic
#1A050E #4A0D27 #7E1642 #B21F5D #DB337A

Accessibility & contrast

On white

10.09
#7E1642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1642
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1642#FFFFFF#000000##FFFFFF
##7E16421.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1642;
/* rgb */ color: rgb(126, 22, 66);
/* oklch */ color: oklch(39.7% 0.141 1.1);
Tailwind
colors: {
  custom: {
    50: '#a86076',
    500: '#7e1642',
    950: '#000000',
  },
}
SCSS
$custom: #7e1642;
$custom-light: #a86076;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1642",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 334.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.14141,
    "h": 1.1
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#7E1642
secondary
#3DB381
accent
#EDA23B
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1642

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

Preview Lab → · Contrast checker → · Palette generator →

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