#7E2E56#7E2E56

#7E2E56 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.119 H 352.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7E2E56
RGBrgb(126, 46, 86)
HSLhsl(330, 47%, 34%)
HSVhsv(330, 63%, 49%)
CMYKcmyk(0%, 63.5%, 31.7%, 50.6%)
CIE-LABlab(31.95, 38.90, -6.26)
CIE-LCHlch(31.95, 39.40, 350.86°)
OKLaboklab(42.9% 0.1183 -0.0161)
OKLCHoklch(42.9% 0.119 352.2)
XYZxyz(11.2614, 7.0627, 9.5725)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E56 #2E7E56
analogous
#7E2E7E #7E2E56 #7E2E2E
triadic
#7E2E56 #567E2E #2E567E
tetradic
#7E2E56 #7E7E2E #2E7E56 #2E2E7E
square
#7E2E56 #7E7E2E #2E7E56 #2E2E7E
split-complementary
#7E2E56 #2E7E2E #2E7E7E
monochromatic
#240D19 #511E37 #7E2E56 #AB3E75 #C56193

Accessibility & contrast

On white

8.71
#7E2E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E2E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E56
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E56#FFFFFF#000000##FFFFFF
##7E2E561.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#872A3E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2e56;
/* rgb */ color: rgb(126, 46, 86);
/* oklch */ color: oklch(42.9% 0.119 352.2);
Tailwind
colors: {
  custom: {
    50: '#a66c85',
    500: '#7e2e56',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e56;
$custom-light: #a66c85;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e56",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 330,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.11941,
    "h": 352.2
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#7E2E56
secondary
#5CAC84
accent
#D69452
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E2E56

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

Preview Lab → · Contrast checker → · Palette generator →

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