#7E1540#7E1540

#7E1540 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.142 H 2.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7E1540
RGBrgb(126, 21, 64)
HSLhsl(335, 71%, 29%)
HSVhsv(335, 83%, 49%)
CMYKcmyk(0%, 83.3%, 49.2%, 50.6%)
CIE-LABlab(27.69, 46.12, 2.01)
CIE-LCHlch(27.69, 46.16, 2.49°)
OKLaboklab(39.52% 0.1416 0.0056)
OKLCHoklch(39.52% 0.142 2.3)
XYZxyz(9.7986, 5.3435, 5.3649)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1540 #157E53
analogous
#7E1575 #7E1540 #7E1F15
triadic
#7E1540 #407E15 #15407E
tetradic
#7E1540 #757E15 #157E53 #1F157E
square
#7E1540 #757E15 #157E53 #1F157E
split-complementary
#7E1540 #157E1F #15757E
monochromatic
#1A040D #4A0C25 #7E1540 #B21E5B #DD3177

Accessibility & contrast

On white

10.15
#7E1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1540
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1540#FFFFFF#000000##FFFFFF
##7E15401.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303441
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8A0029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1540;
/* rgb */ color: rgb(126, 21, 64);
/* oklch */ color: oklch(39.5% 0.142 2.3);
Tailwind
colors: {
  custom: {
    50: '#a95f74',
    500: '#7e1540',
    950: '#000000',
  },
}
SCSS
$custom: #7e1540;
$custom-light: #a95f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1540",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 335.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39519,
    "c": 0.14169,
    "h": 2.3
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#7E1540
secondary
#3CB382
accent
#EEA43A
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1540

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

Preview Lab → · Contrast checker → · Palette generator →

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