#7E2E4E#7E2E4E

#7E2E4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.6% C 0.116 H 358.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7E2E4E
RGBrgb(126, 46, 78)
HSLhsl(336, 47%, 34%)
HSVhsv(336, 63%, 49%)
CMYKcmyk(0%, 63.5%, 38.1%, 50.6%)
CIE-LABlab(31.67, 37.86, -1.47)
CIE-LCHlch(31.67, 37.89, 357.78°)
OKLaboklab(42.61% 0.1156 -0.0034)
OKLCHoklch(42.61% 0.116 358.3)
XYZxyz(10.9570, 6.9409, 7.9689)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E4E #2E7E5E
analogous
#7E2E76 #7E2E4E #7E362E
triadic
#7E2E4E #4E7E2E #2E4E7E
tetradic
#7E2E4E #767E2E #2E7E5E #362E7E
square
#7E2E4E #767E2E #2E7E5E #362E7E
split-complementary
#7E2E4E #2E7E36 #2E767E
monochromatic
#240D16 #511E32 #7E2E4E #AB3E6A #C56189

Accessibility & contrast

On white

8.79
#7E2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E4E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E4E#FFFFFF#000000##FFFFFF
##7E2E4E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#88273B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2e4e;
/* rgb */ color: rgb(126, 46, 78);
/* oklch */ color: oklch(42.6% 0.116 358.3);
Tailwind
colors: {
  custom: {
    50: '#a76b7f',
    500: '#7e2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e4e;
$custom-light: #a76b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e4e",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 336,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42605,
    "c": 0.11564,
    "h": 358.3
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#7E2E4E
secondary
#5CAC8C
accent
#D6A152
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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