#7E1D43#7E1D43

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

Color values

HEX#7E1D43
RGBrgb(126, 29, 67)
HSLhsl(336, 63%, 30%)
HSVhsv(336, 77%, 49%)
CMYKcmyk(0%, 77%, 46.8%, 50.6%)
CIE-LABlab(28.70, 43.83, 1.45)
CIE-LCHlch(28.70, 43.86, 1.90°)
OKLaboklab(40.29% 0.1344 0.0042)
OKLCHoklch(40.29% 0.134 1.8)
XYZxyz(10.0575, 5.7209, 5.8837)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D43 #1D7E58
analogous
#7E1D73 #7E1D43 #7E271D
triadic
#7E1D43 #437E1D #1D437E
tetradic
#7E1D43 #737E1D #1D7E58 #271D7E
square
#7E1D43 #737E1D #1D7E58 #271D7E
split-complementary
#7E1D43 #1D7E27 #1D737E
monochromatic
#1B060E #4C1229 #7E1D43 #B0285D #D3427B

Accessibility & contrast

On white

9.79
#7E1D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D43
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D43#FFFFFF#000000##FFFFFF
##7E1D431.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333844
Deuteranopia (green-blind)
#4D4A41
Tritanopia (blue-blind)
#890B2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d43;
/* rgb */ color: rgb(126, 29, 67);
/* oklch */ color: oklch(40.3% 0.134 1.8);
Tailwind
colors: {
  custom: {
    50: '#a86376',
    500: '#7e1d43',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d43;
$custom-light: #a86376;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d43",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 336.495,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40288,
    "c": 0.13447,
    "h": 1.8
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#7E1D43
secondary
#45B187
accent
#E6A642
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1D43

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

Preview Lab → · Contrast checker → · Palette generator →

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