#7E1C41#7E1C41

#7E1C41 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.135 H 2.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7E1C41
RGBrgb(126, 28, 65)
HSLhsl(337, 64%, 30%)
HSVhsv(337, 78%, 49%)
CMYKcmyk(0%, 77.8%, 48.4%, 50.6%)
CIE-LABlab(28.51, 43.99, 2.52)
CIE-LCHlch(28.51, 44.06, 3.28°)
OKLaboklab(40.13% 0.1348 0.0069)
OKLCHoklch(40.13% 0.135 2.9)
XYZxyz(9.9744, 5.6491, 5.5652)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C41 #1C7E59
analogous
#7E1C72 #7E1C41 #7E281C
triadic
#7E1C41 #417E1C #1C417E
tetradic
#7E1C41 #727E1C #1C7E59 #281C7E
square
#7E1C41 #727E1C #1C7E59 #281C7E
split-complementary
#7E1C41 #1C7E28 #1C727E
monochromatic
#1A060D #4C1127 #7E1C41 #B0275B #D54078

Accessibility & contrast

On white

9.86
#7E1C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C41
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C41#FFFFFF#000000##FFFFFF
##7E1C411.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1c41;
/* rgb */ color: rgb(126, 28, 65);
/* oklch */ color: oklch(40.1% 0.135 2.9);
Tailwind
colors: {
  custom: {
    50: '#a86275',
    500: '#7e1c41',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c41;
$custom-light: #a86275;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c41",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 337.347,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4013,
    "c": 0.13497,
    "h": 2.9
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#7E1C41
secondary
#44B288
accent
#E7A841
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1C41

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

Preview Lab → · Contrast checker → · Palette generator →

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