#7E2044#7E2044

#7E2044 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.131 H 1.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7E2044
RGBrgb(126, 32, 68)
HSLhsl(337, 59%, 31%)
HSVhsv(337, 75%, 49%)
CMYKcmyk(0%, 74.6%, 46%, 50.6%)
CIE-LABlab(29.13, 42.82, 1.41)
CIE-LCHlch(29.13, 42.85, 1.88°)
OKLaboklab(40.61% 0.1312 0.0041)
OKLCHoklch(40.61% 0.131 1.8)
XYZxyz(10.1649, 5.8873, 6.0688)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2044 #207E5A
analogous
#7E2073 #7E2044 #7E2B20
triadic
#7E2044 #447E20 #20447E
tetradic
#7E2044 #737E20 #207E5A #2B207E
square
#7E2044 #737E20 #207E5A #2B207E
split-complementary
#7E2044 #207E2B #20737E
monochromatic
#1C070F #4D142A #7E2044 #AF2C5E #D0487C

Accessibility & contrast

On white

9.65
#7E2044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E2044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2044
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2044#FFFFFF#000000##FFFFFF
##7E20441.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353945
Deuteranopia (green-blind)
#4E4B42
Tritanopia (blue-blind)
#89112F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2044;
/* rgb */ color: rgb(126, 32, 68);
/* oklch */ color: oklch(40.6% 0.131 1.8);
Tailwind
colors: {
  custom: {
    50: '#a86477',
    500: '#7e2044',
    950: '#000000',
  },
}
SCSS
$custom: #7e2044;
$custom-light: #a86477;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2044",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 68
  },
  "hsl": {
    "h": 337.021,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.13127,
    "h": 1.8
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#7E2044
secondary
#49B189
accent
#E3A645
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E2044

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

Preview Lab → · Contrast checker → · Palette generator →

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