#7E2B4D#7E2B4D

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

Color values

HEX#7E2B4D
RGBrgb(126, 43, 77)
HSLhsl(335, 49%, 33%)
HSVhsv(335, 66%, 49%)
CMYKcmyk(0%, 65.9%, 38.9%, 50.6%)
CIE-LABlab(31.11, 39.16, -1.63)
CIE-LCHlch(31.11, 39.19, 357.62°)
OKLaboklab(42.18% 0.1197 -0.0038)
OKLCHoklch(42.18% 0.12 358.2)
XYZxyz(10.8083, 6.7004, 7.7439)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B4D #2B7E5C
analogous
#7E2B76 #7E2B4D #7E332B
triadic
#7E2B4D #4D7E2B #2B4D7E
tetradic
#7E2B4D #767E2B #2B7E5C #332B7E
square
#7E2B4D #767E2B #2B7E5C #332B7E
split-complementary
#7E2B4D #2B7E33 #2B767E
monochromatic
#230C15 #501B31 #7E2B4D #AC3B69 #C75C88

Accessibility & contrast

On white

8.98
#7E2B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B4D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B4D#FFFFFF#000000##FFFFFF
##7E2B4D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#882339
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2b4d;
/* rgb */ color: rgb(126, 43, 77);
/* oklch */ color: oklch(42.2% 0.120 358.2);
Tailwind
colors: {
  custom: {
    50: '#a76a7e',
    500: '#7e2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b4d;
$custom-light: #a76a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b4d",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 335.422,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.11974,
    "h": 358.2
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#7E2B4D
secondary
#58AD8A
accent
#D9A04F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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