#7E1C3D#7E1C3D

#7E1C3D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.134 H 5.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7E1C3D
RGBrgb(126, 28, 61)
HSLhsl(340, 64%, 30%)
HSVhsv(340, 78%, 49%)
CMYKcmyk(0%, 77.8%, 51.6%, 50.6%)
CIE-LABlab(28.39, 43.61, 5.03)
CIE-LCHlch(28.39, 43.90, 6.58°)
OKLaboklab(40% 0.1332 0.0132)
OKLCHoklch(40% 0.134 5.7)
XYZxyz(9.8626, 5.6044, 4.9764)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C3D #1C7E5D
analogous
#7E1C6E #7E1C3D #7E2C1C
triadic
#7E1C3D #3D7E1C #1C3D7E
tetradic
#7E1C3D #6E7E1C #1C7E5D #2C1C7E
square
#7E1C3D #6E7E1C #1C7E5D #2C1C7E
split-complementary
#7E1C3D #1C7E2C #1C6E7E
monochromatic
#1A060D #4C1125 #7E1C3D #B02755 #D54072

Accessibility & contrast

On white

9.90
#7E1C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C3D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C3D#FFFFFF#000000##FFFFFF
##7E1C3D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34373E
Deuteranopia (green-blind)
#4E4A3B
Tritanopia (blue-blind)
#8A042A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1c3d;
/* rgb */ color: rgb(126, 28, 61);
/* oklch */ color: oklch(40.0% 0.134 5.7);
Tailwind
colors: {
  custom: {
    50: '#a96272',
    500: '#7e1c3d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c3d;
$custom-light: #a96272;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c3d",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 339.796,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40004,
    "c": 0.13389,
    "h": 5.7
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#7E1C3D
secondary
#44B28D
accent
#E7AF41
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E1C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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