#7E1941#7E1941

#7E1941 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.138 H 2.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7E1941
RGBrgb(126, 25, 65)
HSLhsl(336, 67%, 30%)
HSVhsv(336, 80%, 49%)
CMYKcmyk(0%, 80.2%, 48.4%, 50.6%)
CIE-LABlab(28.15, 45.00, 2.00)
CIE-LCHlch(28.15, 45.04, 2.55°)
OKLaboklab(39.87% 0.138 0.0056)
OKLCHoklch(39.87% 0.138 2.3)
XYZxyz(9.9068, 5.5139, 5.5426)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1941 #197E56
analogous
#7E1973 #7E1941 #7E2419
triadic
#7E1941 #417E19 #19417E
tetradic
#7E1941 #737E19 #197E56 #24197E
square
#7E1941 #737E19 #197E56 #24197E
split-complementary
#7E1941 #197E24 #19737E
monochromatic
#1A050D #4B0F27 #7E1941 #B1235B #D83A78

Accessibility & contrast

On white

9.99
#7E1941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1941
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1941#FFFFFF#000000##FFFFFF
##7E19411.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313642
Deuteranopia (green-blind)
#4C493F
Tritanopia (blue-blind)
#89022B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1941;
/* rgb */ color: rgb(126, 25, 65);
/* oklch */ color: oklch(39.9% 0.138 2.3);
Tailwind
colors: {
  custom: {
    50: '#a86175',
    500: '#7e1941',
    950: '#000000',
  },
}
SCSS
$custom: #7e1941;
$custom-light: #a86175;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1941",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 336.238,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.13814,
    "h": 2.3
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#7E1941
secondary
#41B285
accent
#EAA63E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1941

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

Preview Lab → · Contrast checker → · Palette generator →

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