#7E2E49#7E2E49

#7E2E49 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.114 H 2.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7E2E49
RGBrgb(126, 46, 73)
HSLhsl(340, 47%, 34%)
HSVhsv(340, 63%, 49%)
CMYKcmyk(0%, 63.5%, 42.1%, 50.6%)
CIE-LABlab(31.51, 37.26, 1.57)
CIE-LCHlch(31.51, 37.29, 2.41°)
OKLaboklab(42.44% 0.1137 0.0045)
OKLCHoklch(42.44% 0.114 2.3)
XYZxyz(10.7845, 6.8719, 7.0605)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E49 #2E7E63
analogous
#7E2E71 #7E2E49 #7E3B2E
triadic
#7E2E49 #497E2E #2E497E
tetradic
#7E2E49 #717E2E #2E7E63 #3B2E7E
square
#7E2E49 #717E2E #2E7E63 #3B2E7E
split-complementary
#7E2E49 #2E7E3B #2E717E
monochromatic
#240D15 #511E2F #7E2E49 #AB3E63 #C56183

Accessibility & contrast

On white

8.85
#7E2E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E2E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E49
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E49#FFFFFF#000000##FFFFFF
##7E2E491.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D404A
Deuteranopia (green-blind)
#525047
Tritanopia (blue-blind)
#882538
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2e49;
/* rgb */ color: rgb(126, 46, 73);
/* oklch */ color: oklch(42.4% 0.114 2.3);
Tailwind
colors: {
  custom: {
    50: '#a76b7b',
    500: '#7e2e49',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e49;
$custom-light: #a76b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e49",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 73
  },
  "hsl": {
    "h": 339.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.11381,
    "h": 2.3
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#7E2E49
secondary
#5CAC91
accent
#D6A952
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2E49

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

Preview Lab → · Contrast checker → · Palette generator →

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