#7E2C4A#7E2C4A

#7E2C4A is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.2% C 0.117 H 0.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7E2C4A
RGBrgb(126, 44, 74)
HSLhsl(338, 48%, 33%)
HSVhsv(338, 65%, 49%)
CMYKcmyk(0%, 65.1%, 41.3%, 50.6%)
CIE-LABlab(31.19, 38.33, 0.44)
CIE-LCHlch(31.19, 38.34, 0.66°)
OKLaboklab(42.21% 0.1171 0.0016)
OKLCHoklch(42.21% 0.117 0.8)
XYZxyz(10.7416, 6.7326, 7.2111)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C4A #2C7E60
analogous
#7E2C73 #7E2C4A #7E372C
triadic
#7E2C4A #4A7E2C #2C4A7E
tetradic
#7E2C4A #737E2C #2C7E60 #372C7E
square
#7E2C4A #737E2C #2C7E60 #372C7E
split-complementary
#7E2C4A #2C7E37 #2C737E
monochromatic
#230C15 #511C2F #7E2C4A #AB3C65 #C75E84

Accessibility & contrast

On white

8.95
#7E2C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E2C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C4A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C4A#FFFFFF#000000##FFFFFF
##7E2C4A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404B
Deuteranopia (green-blind)
#514F48
Tritanopia (blue-blind)
#882338
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2c4a;
/* rgb */ color: rgb(126, 44, 74);
/* oklch */ color: oklch(42.2% 0.117 0.8);
Tailwind
colors: {
  custom: {
    50: '#a76a7c',
    500: '#7e2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c4a;
$custom-light: #a76a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c4a",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 338.049,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.11712,
    "h": 0.8
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#7E2C4A
secondary
#59AD8E
accent
#D8A650
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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