#7E1D40#7E1D40

#7E1D40 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.134 H 3.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7E1D40
RGBrgb(126, 29, 64)
HSLhsl(338, 63%, 30%)
HSVhsv(338, 77%, 49%)
CMYKcmyk(0%, 77%, 49.2%, 50.6%)
CIE-LABlab(28.61, 43.54, 3.33)
CIE-LCHlch(28.61, 43.67, 4.37°)
OKLaboklab(40.19% 0.1333 0.009)
OKLCHoklch(40.19% 0.134 3.9)
XYZxyz(9.9698, 5.6858, 5.4220)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D40 #1D7E5B
analogous
#7E1D70 #7E1D40 #7E2B1D
triadic
#7E1D40 #407E1D #1D407E
tetradic
#7E1D40 #707E1D #1D7E5B #2B1D7E
square
#7E1D40 #707E1D #1D7E5B #2B1D7E
split-complementary
#7E1D40 #1D7E2B #1D707E
monochromatic
#1B060D #4C1227 #7E1D40 #B02859 #D34276

Accessibility & contrast

On white

9.83
#7E1D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D40
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D40#FFFFFF#000000##FFFFFF
##7E1D401.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343741
Deuteranopia (green-blind)
#4E4A3E
Tritanopia (blue-blind)
#89092C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1d40;
/* rgb */ color: rgb(126, 29, 64);
/* oklch */ color: oklch(40.2% 0.134 3.9);
Tailwind
colors: {
  custom: {
    50: '#a86274',
    500: '#7e1d40',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d40;
$custom-light: #a86274;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d40",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 338.351,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.13357,
    "h": 3.9
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#7E1D40
secondary
#45B18A
accent
#E6AB42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1D40

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

Preview Lab → · Contrast checker → · Palette generator →

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