#7E2E45#7E2E45

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

Color values

HEX#7E2E45
RGBrgb(126, 46, 69)
HSLhsl(343, 47%, 34%)
HSVhsv(343, 63%, 49%)
CMYKcmyk(0%, 63.5%, 45.2%, 50.6%)
CIE-LABlab(31.39, 36.81, 4.02)
CIE-LCHlch(31.39, 37.03, 6.23°)
OKLaboklab(42.31% 0.1122 0.0107)
OKLCHoklch(42.31% 0.113 5.5)
XYZxyz(10.6561, 6.8205, 6.3844)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E45 #2E7E67
analogous
#7E2E6D #7E2E45 #7E3F2E
triadic
#7E2E45 #457E2E #2E457E
tetradic
#7E2E45 #6D7E2E #2E7E67 #3F2E7E
square
#7E2E45 #6D7E2E #2E7E67 #3F2E7E
split-complementary
#7E2E45 #2E7E3F #2E6D7E
monochromatic
#240D14 #511E2C #7E2E45 #AB3E5E #C5617E

Accessibility & contrast

On white

8.88
#7E2E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E2E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E45
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E45#FFFFFF#000000##FFFFFF
##7E2E451.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#892437
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2e45;
/* rgb */ color: rgb(126, 46, 69);
/* oklch */ color: oklch(42.3% 0.113 5.5);
Tailwind
colors: {
  custom: {
    50: '#a76b78',
    500: '#7e2e45',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e45;
$custom-light: #a76b78;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e45",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 69
  },
  "hsl": {
    "h": 342.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.11267,
    "h": 5.5
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#7E2E45
secondary
#5CAC95
accent
#D6B052
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2E45

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

Preview Lab → · Contrast checker → · Palette generator →

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