#7E1C44#7E1C44

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

Color values

HEX#7E1C44
RGBrgb(126, 28, 68)
HSLhsl(336, 64%, 30%)
HSVhsv(336, 78%, 49%)
CMYKcmyk(0%, 77.8%, 46%, 50.6%)
CIE-LABlab(28.60, 44.29, 0.65)
CIE-LCHlch(28.60, 44.29, 0.84°)
OKLaboklab(40.23% 0.1359 0.0022)
OKLCHoklch(40.23% 0.136 0.9)
XYZxyz(10.0636, 5.6848, 6.0351)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C44 #1C7E56
analogous
#7E1C75 #7E1C44 #7E251C
triadic
#7E1C44 #447E1C #1C447E
tetradic
#7E1C44 #757E1C #1C7E56 #251C7E
square
#7E1C44 #757E1C #1C7E56 #251C7E
split-complementary
#7E1C44 #1C7E25 #1C757E
monochromatic
#1A060E #4C1129 #7E1C44 #B0275F #D5407D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1C44#FFFFFF#000000##FFFFFF
##7E1C441.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)
#323745
Deuteranopia (green-blind)
#4D4A42
Tritanopia (blue-blind)
#890A2D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1c44;
/* rgb */ color: rgb(126, 28, 68);
/* oklch */ color: oklch(40.2% 0.136 0.9);
Tailwind
colors: {
  custom: {
    50: '#a86277',
    500: '#7e1c44',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c44;
$custom-light: #a86277;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c44",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 68
  },
  "hsl": {
    "h": 335.51,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.13592,
    "h": 0.9
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#7E1C44
secondary
#44B285
accent
#E7A341
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1C44

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

Preview Lab → · Contrast checker → · Palette generator →

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