#7E2049#7E2049

#7E2049 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.133 H 358.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E2049
RGBrgb(126, 32, 73)
HSLhsl(334, 59%, 31%)
HSVhsv(334, 75%, 49%)
CMYKcmyk(0%, 74.6%, 42.1%, 50.6%)
CIE-LABlab(29.29, 43.36, -1.68)
CIE-LCHlch(29.29, 43.39, 357.78°)
OKLaboklab(40.79% 0.133 -0.0039)
OKLCHoklch(40.79% 0.133 358.3)
XYZxyz(10.3240, 5.9510, 6.9070)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2049 #207E55
analogous
#7E2078 #7E2049 #7E2620
triadic
#7E2049 #497E20 #20497E
tetradic
#7E2049 #787E20 #207E55 #26207E
square
#7E2049 #787E20 #207E55 #26207E
split-complementary
#7E2049 #207E26 #20787E
monochromatic
#1C0710 #4D142D #7E2049 #AF2C65 #D04883

Accessibility & contrast

On white

9.59
#7E2049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E2049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2049
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2049#FFFFFF#000000##FFFFFF
##7E20491.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4A
Deuteranopia (green-blind)
#4D4B47
Tritanopia (blue-blind)
#891431
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2049;
/* rgb */ color: rgb(126, 32, 73);
/* oklch */ color: oklch(40.8% 0.133 358.3);
Tailwind
colors: {
  custom: {
    50: '#a8647b',
    500: '#7e2049',
    950: '#000000',
  },
}
SCSS
$custom: #7e2049;
$custom-light: #a8647b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2049",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 73
  },
  "hsl": {
    "h": 333.83,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40787,
    "c": 0.13307,
    "h": 358.3
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#7E2049
secondary
#49B184
accent
#E39E45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2049

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

Preview Lab → · Contrast checker → · Palette generator →

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