#7E2B4E#7E2B4E

#7E2B4E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.120 H 357.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7E2B4E
RGBrgb(126, 43, 78)
HSLhsl(335, 49%, 33%)
HSVhsv(335, 66%, 49%)
CMYKcmyk(0%, 65.9%, 38.1%, 50.6%)
CIE-LABlab(31.15, 39.28, -2.24)
CIE-LCHlch(31.15, 39.34, 356.74°)
OKLaboklab(42.22% 0.12 -0.0054)
OKLCHoklch(42.22% 0.12 357.4)
XYZxyz(10.8439, 6.7146, 7.9312)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B4E #2B7E5B
analogous
#7E2B77 #7E2B4E #7E322B
triadic
#7E2B4E #4E7E2B #2B4E7E
tetradic
#7E2B4E #777E2B #2B7E5B #322B7E
square
#7E2B4E #777E2B #2B7E5B #322B7E
split-complementary
#7E2B4E #2B7E32 #2B777E
monochromatic
#230C16 #501B32 #7E2B4E #AC3B6A #C75C89

Accessibility & contrast

On white

8.96
#7E2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B4E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B4E#FFFFFF#000000##FFFFFF
##7E2B4E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#504F4C
Tritanopia (blue-blind)
#882439
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2b4e;
/* rgb */ color: rgb(126, 43, 78);
/* oklch */ color: oklch(42.2% 0.120 357.4);
Tailwind
colors: {
  custom: {
    50: '#a76a7f',
    500: '#7e2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b4e;
$custom-light: #a76a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b4e",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 334.699,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.12015,
    "h": 357.4
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#7E2B4E
secondary
#58AD89
accent
#D99F4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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