#7E1340#7E1340

#7E1340 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.143 H 2.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7E1340
RGBrgb(126, 19, 64)
HSLhsl(335, 74%, 28%)
HSVhsv(335, 85%, 49%)
CMYKcmyk(0%, 84.9%, 49.2%, 50.6%)
CIE-LABlab(27.50, 46.67, 1.73)
CIE-LCHlch(27.50, 46.70, 2.12°)
OKLaboklab(39.38% 0.1434 0.0049)
OKLCHoklch(39.38% 0.143 2)
XYZxyz(9.7633, 5.2729, 5.3532)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1340 #137E51
analogous
#7E1375 #7E1340 #7E1B13
triadic
#7E1340 #407E13 #13407E
tetradic
#7E1340 #757E13 #137E51 #1B137E
square
#7E1340 #757E13 #137E51 #1B137E
split-complementary
#7E1340 #137E1B #13757E
monochromatic
#1B040E #490B25 #7E1340 #B31B5B #DF2C77

Accessibility & contrast

On white

10.22
#7E1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1340
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1340#FFFFFF#000000##FFFFFF
##7E13401.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1340;
/* rgb */ color: rgb(126, 19, 64);
/* oklch */ color: oklch(39.4% 0.143 2.0);
Tailwind
colors: {
  custom: {
    50: '#a95f74',
    500: '#7e1340',
    950: '#000000',
  },
}
SCSS
$custom: #7e1340;
$custom-light: #a95f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1340",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 334.766,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.14344,
    "h": 2
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#7E1340
secondary
#39B480
accent
#F0A337
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1340

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

Preview Lab → · Contrast checker → · Palette generator →

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