#7E2D4D#7E2D4D

#7E2D4D is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.4% C 0.117 H 358.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7E2D4D
RGBrgb(126, 45, 77)
HSLhsl(336, 47%, 34%)
HSVhsv(336, 64%, 49%)
CMYKcmyk(0%, 64.3%, 38.9%, 50.6%)
CIE-LABlab(31.46, 38.22, -1.12)
CIE-LCHlch(31.46, 38.23, 358.32°)
OKLaboklab(42.44% 0.1167 -0.0025)
OKLCHoklch(42.44% 0.117 358.8)
XYZxyz(10.8828, 6.8494, 7.7687)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D4D #2D7E5E
analogous
#7E2D75 #7E2D4D #7E352D
triadic
#7E2D4D #4D7E2D #2D4D7E
tetradic
#7E2D4D #757E2D #2D7E5E #352D7E
square
#7E2D4D #757E2D #2D7E5E #352D7E
split-complementary
#7E2D4D #2D7E35 #2D757E
monochromatic
#240D16 #511D31 #7E2D4D #AB3D69 #C65F88

Accessibility & contrast

On white

8.86
#7E2D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D4D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D4D#FFFFFF#000000##FFFFFF
##7E2D4D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2d4d;
/* rgb */ color: rgb(126, 45, 77);
/* oklch */ color: oklch(42.4% 0.117 358.8);
Tailwind
colors: {
  custom: {
    50: '#a76b7e',
    500: '#7e2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d4d;
$custom-light: #a76b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d4d",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 336.296,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.11676,
    "h": 358.8
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#7E2D4D
secondary
#5AAC8C
accent
#D7A251
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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