#7E1643#7E1643

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

Color values

HEX#7E1643
RGBrgb(126, 22, 67)
HSLhsl(334, 70%, 29%)
HSVhsv(334, 83%, 49%)
CMYKcmyk(0%, 82.5%, 46.8%, 50.6%)
CIE-LABlab(27.89, 46.12, 0.28)
CIE-LCHlch(27.89, 46.12, 0.34°)
OKLaboklab(39.69% 0.1417 0.0012)
OKLCHoklch(39.69% 0.142 0.5)
XYZxyz(9.9050, 5.4160, 5.8329)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1643 #167E51
analogous
#7E1677 #7E1643 #7E1D16
triadic
#7E1643 #437E16 #16437E
tetradic
#7E1643 #777E16 #167E51 #1D167E
square
#7E1643 #777E16 #167E51 #1D167E
split-complementary
#7E1643 #167E1D #16777E
monochromatic
#1A050E #4A0D27 #7E1643 #B21F5F #DB337C

Accessibility & contrast

On white

10.08
#7E1643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1643
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1643#FFFFFF#000000##FFFFFF
##7E16431.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3544
Deuteranopia (green-blind)
#4B4941
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1643;
/* rgb */ color: rgb(126, 22, 67);
/* oklch */ color: oklch(39.7% 0.142 0.5);
Tailwind
colors: {
  custom: {
    50: '#a86076',
    500: '#7e1643',
    950: '#000000',
  },
}
SCSS
$custom: #7e1643;
$custom-light: #a86076;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1643",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 67
  },
  "hsl": {
    "h": 334.038,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.14175,
    "h": 0.5
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#7E1643
secondary
#3DB380
accent
#EDA03B
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1643

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

Preview Lab → · Contrast checker → · Palette generator →

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