#7E2048#7E2048

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

Color values

HEX#7E2048
RGBrgb(126, 32, 72)
HSLhsl(334, 59%, 31%)
HSVhsv(334, 75%, 49%)
CMYKcmyk(0%, 74.6%, 42.9%, 50.6%)
CIE-LABlab(29.25, 43.25, -1.07)
CIE-LCHlch(29.25, 43.26, 358.59°)
OKLaboklab(40.75% 0.1327 -0.0023)
OKLCHoklch(40.75% 0.133 359)
XYZxyz(10.2911, 5.9378, 6.7338)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2048 #207E56
analogous
#7E2077 #7E2048 #7E2720
triadic
#7E2048 #487E20 #20487E
tetradic
#7E2048 #777E20 #207E56 #27207E
square
#7E2048 #777E20 #207E56 #27207E
split-complementary
#7E2048 #207E27 #20777E
monochromatic
#1C0710 #4D142C #7E2048 #AF2C64 #D04882

Accessibility & contrast

On white

9.60
#7E2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2048
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2048#FFFFFF#000000##FFFFFF
##7E20481.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A49
Deuteranopia (green-blind)
#4D4B46
Tritanopia (blue-blind)
#891331
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2048;
/* rgb */ color: rgb(126, 32, 72);
/* oklch */ color: oklch(40.8% 0.133 359.0);
Tailwind
colors: {
  custom: {
    50: '#a8647a',
    500: '#7e2048',
    950: '#000000',
  },
}
SCSS
$custom: #7e2048;
$custom-light: #a8647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2048",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 334.468,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.13268,
    "h": 359
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#7E2048
secondary
#49B185
accent
#E3A045
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2048

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

Preview Lab → · Contrast checker → · Palette generator →

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