#7E1946#7E1946

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

Color values

HEX#7E1946
RGBrgb(126, 25, 70)
HSLhsl(333, 67%, 30%)
HSVhsv(333, 80%, 49%)
CMYKcmyk(0%, 80.2%, 44.4%, 50.6%)
CIE-LABlab(28.31, 45.50, -1.12)
CIE-LCHlch(28.31, 45.51, 358.59°)
OKLaboklab(40.04% 0.1398 -0.0024)
OKLCHoklch(40.04% 0.14 359)
XYZxyz(10.0581, 5.5744, 6.3395)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1946 #197E51
analogous
#7E1979 #7E1946 #7E1E19
triadic
#7E1946 #467E19 #19467E
tetradic
#7E1946 #797E19 #197E51 #1E197E
square
#7E1946 #797E19 #197E51 #1E197E
split-complementary
#7E1946 #197E1E #19797E
monochromatic
#1A050E #4B0F2A #7E1946 #B12362 #D83A80

Accessibility & contrast

On white

9.93
#7E1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1946
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1946#FFFFFF#000000##FFFFFF
##7E19461.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303747
Deuteranopia (green-blind)
#4B4A44
Tritanopia (blue-blind)
#89062D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1946;
/* rgb */ color: rgb(126, 25, 70);
/* oklch */ color: oklch(40.0% 0.140 359.0);
Tailwind
colors: {
  custom: {
    50: '#a86179',
    500: '#7e1946',
    950: '#000000',
  },
}
SCSS
$custom: #7e1946;
$custom-light: #a86179;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1946",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 333.267,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.13985,
    "h": 359
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#7E1946
secondary
#41B280
accent
#EA9D3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1946

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

Preview Lab → · Contrast checker → · Palette generator →

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