#7E1648#7E1648

#7E1648 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.144 H 357.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7E1648
RGBrgb(126, 22, 72)
HSLhsl(331, 70%, 29%)
HSVhsv(331, 83%, 49%)
CMYKcmyk(0%, 82.5%, 42.9%, 50.6%)
CIE-LABlab(28.06, 46.62, -2.83)
CIE-LCHlch(28.06, 46.71, 356.53°)
OKLaboklab(39.87% 0.1435 -0.0068)
OKLCHoklch(39.87% 0.144 357.3)
XYZxyz(10.0615, 5.4786, 6.6573)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1648 #167E4C
analogous
#7E167C #7E1648 #7E1816
triadic
#7E1648 #487E16 #16487E
tetradic
#7E1648 #7C7E16 #167E4C #18167E
square
#7E1648 #7C7E16 #167E4C #18167E
split-complementary
#7E1648 #167E18 #167C7E
monochromatic
#1A050F #4A0D2A #7E1648 #B21F66 #DB3384

Accessibility & contrast

On white

10.02
#7E1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1648
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1648#FFFFFF#000000##FFFFFF
##7E16481.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#89022D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1648;
/* rgb */ color: rgb(126, 22, 72);
/* oklch */ color: oklch(39.9% 0.144 357.3);
Tailwind
colors: {
  custom: {
    50: '#a8607a',
    500: '#7e1648',
    950: '#000000',
  },
}
SCSS
$custom: #7e1648;
$custom-light: #a8607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1648",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 331.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.14362,
    "h": 357.3
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#7E1648
secondary
#3DB37A
accent
#ED973B
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1648

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

Preview Lab → · Contrast checker → · Palette generator →

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