#7E2A49#7E2A49

#7E2A49 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 41.9% C 0.120 H 0.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7E2A49
RGBrgb(126, 42, 73)
HSLhsl(338, 50%, 33%)
HSVhsv(338, 67%, 49%)
CMYKcmyk(0%, 66.7%, 42.1%, 50.6%)
CIE-LABlab(30.82, 39.15, 0.56)
CIE-LCHlch(30.82, 39.15, 0.81°)
OKLaboklab(41.92% 0.1197 0.0019)
OKLCHoklch(41.92% 0.12 0.9)
XYZxyz(10.6355, 6.5738, 7.0108)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A49 #2A7E5F
analogous
#7E2A73 #7E2A49 #7E352A
triadic
#7E2A49 #497E2A #2A497E
tetradic
#7E2A49 #737E2A #2A7E5F #352A7E
square
#7E2A49 #737E2A #2A7E5F #352A7E
split-complementary
#7E2A49 #2A7E35 #2A737E
monochromatic
#220B14 #501B2E #7E2A49 #AC3964 #C85A83

Accessibility & contrast

On white

9.07
#7E2A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A49
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A49#FFFFFF#000000##FFFFFF
##7E2A491.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E4A
Deuteranopia (green-blind)
#514E47
Tritanopia (blue-blind)
#892136
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2a49;
/* rgb */ color: rgb(126, 42, 73);
/* oklch */ color: oklch(41.9% 0.120 0.9);
Tailwind
colors: {
  custom: {
    50: '#a7697b',
    500: '#7e2a49',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a49;
$custom-light: #a7697b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a49",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 337.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41916,
    "c": 0.11968,
    "h": 0.9
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#7E2A49
secondary
#56AE8D
accent
#DAA64E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2A49

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

Preview Lab → · Contrast checker → · Palette generator →

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