#7E1D41#7E1D41

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

Color values

HEX#7E1D41
RGBrgb(126, 29, 65)
HSLhsl(338, 63%, 30%)
HSVhsv(338, 77%, 49%)
CMYKcmyk(0%, 77%, 48.4%, 50.6%)
CIE-LABlab(28.64, 43.64, 2.70)
CIE-LCHlch(28.64, 43.72, 3.54°)
OKLaboklab(40.22% 0.1337 0.0074)
OKLCHoklch(40.22% 0.134 3.2)
XYZxyz(9.9985, 5.6973, 5.5732)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D41 #1D7E5A
analogous
#7E1D71 #7E1D41 #7E291D
triadic
#7E1D41 #417E1D #1D417E
tetradic
#7E1D41 #717E1D #1D7E5A #291D7E
square
#7E1D41 #717E1D #1D7E5A #291D7E
split-complementary
#7E1D41 #1D7E29 #1D717E
monochromatic
#1B060E #4C1227 #7E1D41 #B0285B #D34278

Accessibility & contrast

On white

9.82
#7E1D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D41
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D41#FFFFFF#000000##FFFFFF
##7E1D411.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d41;
/* rgb */ color: rgb(126, 29, 65);
/* oklch */ color: oklch(40.2% 0.134 3.2);
Tailwind
colors: {
  custom: {
    50: '#a86275',
    500: '#7e1d41',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d41;
$custom-light: #a86275;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d41",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 337.732,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.13385,
    "h": 3.2
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#7E1D41
secondary
#45B189
accent
#E6A942
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1D41

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

Preview Lab → · Contrast checker → · Palette generator →

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