#7E1D45#7E1D45

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

Color values

HEX#7E1D45
RGBrgb(126, 29, 69)
HSLhsl(335, 63%, 30%)
HSVhsv(335, 77%, 49%)
CMYKcmyk(0%, 77%, 45.2%, 50.6%)
CIE-LABlab(28.76, 44.04, 0.21)
CIE-LCHlch(28.76, 44.04, 0.27°)
OKLaboklab(40.36% 0.1351 0.001)
OKLCHoklch(40.36% 0.135 0.4)
XYZxyz(10.1185, 5.7453, 6.2052)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D45 #1D7E56
analogous
#7E1D75 #7E1D45 #7E261D
triadic
#7E1D45 #457E1D #1D457E
tetradic
#7E1D45 #757E1D #1D7E56 #261D7E
square
#7E1D45 #757E1D #1D7E56 #261D7E
split-complementary
#7E1D45 #1D7E26 #1D757E
monochromatic
#1B060F #4C122A #7E1D45 #B02860 #D3427E

Accessibility & contrast

On white

9.77
#7E1D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D45
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D45#FFFFFF#000000##FFFFFF
##7E1D451.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#890D2E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d45;
/* rgb */ color: rgb(126, 29, 69);
/* oklch */ color: oklch(40.4% 0.135 0.4);
Tailwind
colors: {
  custom: {
    50: '#a86378',
    500: '#7e1d45',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d45;
$custom-light: #a86378;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d45",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 69
  },
  "hsl": {
    "h": 335.258,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.13513,
    "h": 0.4
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#7E1D45
secondary
#45B185
accent
#E6A242
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1D45

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

Preview Lab → · Contrast checker → · Palette generator →

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