#7E2E4D#7E2E4D

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

Color values

HEX#7E2E4D
RGBrgb(126, 46, 77)
HSLhsl(337, 47%, 34%)
HSVhsv(337, 63%, 49%)
CMYKcmyk(0%, 63.5%, 38.9%, 50.6%)
CIE-LABlab(31.64, 37.74, -0.86)
CIE-LCHlch(31.64, 37.75, 358.69°)
OKLaboklab(42.57% 0.1152 -0.0018)
OKLCHoklch(42.57% 0.115 359.1)
XYZxyz(10.9214, 6.9266, 7.7816)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E4D #2E7E5F
analogous
#7E2E75 #7E2E4D #7E372E
triadic
#7E2E4D #4D7E2E #2E4D7E
tetradic
#7E2E4D #757E2E #2E7E5F #372E7E
square
#7E2E4D #757E2E #2E7E5F #372E7E
split-complementary
#7E2E4D #2E7E37 #2E757E
monochromatic
#240D16 #511E32 #7E2E4D #AB3E68 #C56188

Accessibility & contrast

On white

8.81
#7E2E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2E4D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E4D#FFFFFF#000000##FFFFFF
##7E2E4D1.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2e4d;
/* rgb */ color: rgb(126, 46, 77);
/* oklch */ color: oklch(42.6% 0.115 359.1);
Tailwind
colors: {
  custom: {
    50: '#a76b7e',
    500: '#7e2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e4d;
$custom-light: #a76b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e4d",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 336.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.11523,
    "h": 359.1
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#7E2E4D
secondary
#5CAC8D
accent
#D6A352
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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