#7E2149#7E2149

#7E2149 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.132 H 358.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E2149
RGBrgb(126, 33, 73)
HSLhsl(334, 58%, 31%)
HSVhsv(334, 74%, 49%)
CMYKcmyk(0%, 73.8%, 42.1%, 50.6%)
CIE-LABlab(29.43, 42.97, -1.48)
CIE-LCHlch(29.43, 43.00, 358.03°)
OKLaboklab(40.89% 0.1318 -0.0033)
OKLCHoklch(40.89% 0.132 358.5)
XYZxyz(10.3514, 6.0057, 6.9161)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2149 #217E56
analogous
#7E2177 #7E2149 #7E2721
triadic
#7E2149 #497E21 #21497E
tetradic
#7E2149 #777E21 #217E56 #27217E
square
#7E2149 #777E21 #217E56 #27217E
split-complementary
#7E2149 #217E27 #21777E
monochromatic
#1D0811 #4E142D #7E2149 #AE2E65 #D04A83

Accessibility & contrast

On white

9.54
#7E2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2149
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2149#FFFFFF#000000##FFFFFF
##7E21491.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4A
Deuteranopia (green-blind)
#4D4C47
Tritanopia (blue-blind)
#891532
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2149;
/* rgb */ color: rgb(126, 33, 73);
/* oklch */ color: oklch(40.9% 0.132 358.5);
Tailwind
colors: {
  custom: {
    50: '#a8647b',
    500: '#7e2149',
    950: '#000000',
  },
}
SCSS
$custom: #7e2149;
$custom-light: #a8647b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2149",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 334.194,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40889,
    "c": 0.13183,
    "h": 358.5
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#7E2149
secondary
#4AB185
accent
#E29F46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2149

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

Preview Lab → · Contrast checker → · Palette generator →

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