#7E2C46#7E2C46

#7E2C46 is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.1% C 0.116 H 3.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7E2C46
RGBrgb(126, 44, 70)
HSLhsl(341, 48%, 33%)
HSVhsv(341, 65%, 49%)
CMYKcmyk(0%, 65.1%, 44.4%, 50.6%)
CIE-LABlab(31.07, 37.88, 2.89)
CIE-LCHlch(31.07, 37.99, 4.36°)
OKLaboklab(42.07% 0.1156 0.0079)
OKLCHoklch(42.07% 0.116 3.9)
XYZxyz(10.6111, 6.6804, 6.5238)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C46 #2C7E64
analogous
#7E2C6F #7E2C46 #7E3B2C
triadic
#7E2C46 #467E2C #2C467E
tetradic
#7E2C46 #6F7E2C #2C7E64 #3B2C7E
square
#7E2C46 #6F7E2C #2C7E64 #3B2C7E
split-complementary
#7E2C46 #2C7E3B #2C6F7E
monochromatic
#230C14 #511C2D #7E2C46 #AB3C5F #C75E7F

Accessibility & contrast

On white

8.99
#7E2C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E2C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C46
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C46#FFFFFF#000000##FFFFFF
##7E2C461.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F47
Deuteranopia (green-blind)
#524F44
Tritanopia (blue-blind)
#892236
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2c46;
/* rgb */ color: rgb(126, 44, 70);
/* oklch */ color: oklch(42.1% 0.116 3.9);
Tailwind
colors: {
  custom: {
    50: '#a76a79',
    500: '#7e2c46',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c46;
$custom-light: #a76a79;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c46",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 340.976,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.11585,
    "h": 3.9
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#7E2C46
secondary
#59AD92
accent
#D8AD50
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2C46

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

Preview Lab → · Contrast checker → · Palette generator →

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