#7E2D4E#7E2D4E

#7E2D4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.117 H 358.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7E2D4E
RGBrgb(126, 45, 78)
HSLhsl(336, 47%, 34%)
HSVhsv(336, 64%, 49%)
CMYKcmyk(0%, 64.3%, 38.1%, 50.6%)
CIE-LABlab(31.49, 38.34, -1.73)
CIE-LCHlch(31.49, 38.38, 357.42°)
OKLaboklab(42.47% 0.1171 -0.004)
OKLCHoklch(42.47% 0.117 358)
XYZxyz(10.9184, 6.8637, 7.9561)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D4E #2D7E5D
analogous
#7E2D76 #7E2D4E #7E352D
triadic
#7E2D4E #4E7E2D #2D4E7E
tetradic
#7E2D4E #767E2D #2D7E5D #352D7E
square
#7E2D4E #767E2D #2D7E5D #352D7E
split-complementary
#7E2D4E #2D7E35 #2D767E
monochromatic
#240D16 #511D32 #7E2D4E #AB3D6A #C65F89

Accessibility & contrast

On white

8.85
#7E2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D4E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D4E#FFFFFF#000000##FFFFFF
##7E2D4E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2d4e;
/* rgb */ color: rgb(126, 45, 78);
/* oklch */ color: oklch(42.5% 0.117 358.0);
Tailwind
colors: {
  custom: {
    50: '#a76b7f',
    500: '#7e2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d4e;
$custom-light: #a76b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d4e",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 335.556,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42473,
    "c": 0.11716,
    "h": 358
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#7E2D4E
secondary
#5AAC8B
accent
#D7A051
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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