#7E1D44#7E1D44

#7E1D44 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.135 H 1.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7E1D44
RGBrgb(126, 29, 68)
HSLhsl(336, 63%, 30%)
HSVhsv(336, 77%, 49%)
CMYKcmyk(0%, 77%, 46%, 50.6%)
CIE-LABlab(28.73, 43.94, 0.83)
CIE-LCHlch(28.73, 43.94, 1.08°)
OKLaboklab(40.32% 0.1348 0.0026)
OKLCHoklch(40.32% 0.135 1.1)
XYZxyz(10.0877, 5.7330, 6.0431)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D44 #1D7E57
analogous
#7E1D75 #7E1D44 #7E261D
triadic
#7E1D44 #447E1D #1D447E
tetradic
#7E1D44 #757E1D #1D7E57 #261D7E
square
#7E1D44 #757E1D #1D7E57 #261D7E
split-complementary
#7E1D44 #1D7E26 #1D757E
monochromatic
#1B060E #4C1229 #7E1D44 #B0285F #D3427C

Accessibility & contrast

On white

9.78
#7E1D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D44
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D44#FFFFFF#000000##FFFFFF
##7E1D441.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333845
Deuteranopia (green-blind)
#4D4B42
Tritanopia (blue-blind)
#890C2E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d44;
/* rgb */ color: rgb(126, 29, 68);
/* oklch */ color: oklch(40.3% 0.135 1.1);
Tailwind
colors: {
  custom: {
    50: '#a86377',
    500: '#7e1d44',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d44;
$custom-light: #a86377;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d44",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 68
  },
  "hsl": {
    "h": 335.876,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.1348,
    "h": 1.1
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#7E1D44
secondary
#45B186
accent
#E6A442
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1D44

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

Preview Lab → · Contrast checker → · Palette generator →

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