#7E2E46#7E2E46

#7E2E46 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.113 H 4.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7E2E46
RGBrgb(126, 46, 70)
HSLhsl(342, 47%, 34%)
HSVhsv(342, 63%, 49%)
CMYKcmyk(0%, 63.5%, 44.4%, 50.6%)
CIE-LABlab(31.42, 36.92, 3.40)
CIE-LCHlch(31.42, 37.08, 5.27°)
OKLaboklab(42.34% 0.1126 0.0092)
OKLCHoklch(42.34% 0.113 4.7)
XYZxyz(10.6874, 6.8330, 6.5493)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E46 #2E7E66
analogous
#7E2E6E #7E2E46 #7E3E2E
triadic
#7E2E46 #467E2E #2E467E
tetradic
#7E2E46 #6E7E2E #2E7E66 #3E2E7E
square
#7E2E46 #6E7E2E #2E7E66 #3E2E7E
split-complementary
#7E2E46 #2E7E3E #2E6E7E
monochromatic
#240D14 #511E2D #7E2E46 #AB3E5F #C5617F

Accessibility & contrast

On white

8.87
#7E2E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2E46
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E46#FFFFFF#000000##FFFFFF
##7E2E461.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4047
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#892537
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2e46;
/* rgb */ color: rgb(126, 46, 70);
/* oklch */ color: oklch(42.3% 0.113 4.7);
Tailwind
colors: {
  custom: {
    50: '#a76b79',
    500: '#7e2e46',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e46;
$custom-light: #a76b79;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e46",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 70
  },
  "hsl": {
    "h": 342,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.11293,
    "h": 4.7
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#7E2E46
secondary
#5CAC94
accent
#D6AE52
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2E46

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

Preview Lab → · Contrast checker → · Palette generator →

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