#7E1E40#7E1E40

#7E1E40 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.132 H 4.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7E1E40
RGBrgb(126, 30, 64)
HSLhsl(339, 62%, 31%)
HSVhsv(339, 76%, 49%)
CMYKcmyk(0%, 76.2%, 49.2%, 50.6%)
CIE-LABlab(28.74, 43.17, 3.51)
CIE-LCHlch(28.74, 43.32, 4.65°)
OKLaboklab(40.29% 0.1321 0.0094)
OKLCHoklch(40.29% 0.132 4.1)
XYZxyz(9.9947, 5.7357, 5.4303)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E40 #1E7E5C
analogous
#7E1E70 #7E1E40 #7E2C1E
triadic
#7E1E40 #407E1E #1E407E
tetradic
#7E1E40 #707E1E #1E7E5C #2C1E7E
square
#7E1E40 #707E1E #1E7E5C #2C1E7E
split-complementary
#7E1E40 #1E7E2C #1E707E
monochromatic
#1B060E #4D1227 #7E1E40 #AF2A59 #D24476

Accessibility & contrast

On white

9.78
#7E1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E40
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E40#FFFFFF#000000##FFFFFF
##7E1E401.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343841
Deuteranopia (green-blind)
#4E4B3E
Tritanopia (blue-blind)
#890B2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1e40;
/* rgb */ color: rgb(126, 30, 64);
/* oklch */ color: oklch(40.3% 0.132 4.1);
Tailwind
colors: {
  custom: {
    50: '#a86374',
    500: '#7e1e40',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e40;
$custom-light: #a86374;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e40",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 338.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40286,
    "c": 0.13244,
    "h": 4.1
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#7E1E40
secondary
#47B18B
accent
#E5AB43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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