#7E1839#7E1839

#7E1839 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.137 H 7.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#7E1839
RGBrgb(126, 24, 57)
HSLhsl(341, 68%, 29%)
HSVhsv(341, 81%, 49%)
CMYKcmyk(0%, 81%, 54.8%, 50.6%)
CIE-LABlab(27.81, 44.60, 6.89)
CIE-LCHlch(27.81, 45.13, 8.79°)
OKLaboklab(39.54% 0.1359 0.0177)
OKLCHoklch(39.54% 0.137 7.4)
XYZxyz(9.6702, 5.3857, 4.4004)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1839 #187E5D
analogous
#7E186C #7E1839 #7E2A18
triadic
#7E1839 #397E18 #18397E
tetradic
#7E1839 #6C7E18 #187E5D #2A187E
square
#7E1839 #6C7E18 #187E5D #2A187E
split-complementary
#7E1839 #187E2A #186C7E
monochromatic
#1A050C #4B0E22 #7E1839 #B12250 #D9376C

Accessibility & contrast

On white

10.11
#7E1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1839
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1839#FFFFFF#000000##FFFFFF
##7E18391.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353A
Deuteranopia (green-blind)
#4D4937
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1839;
/* rgb */ color: rgb(126, 24, 57);
/* oklch */ color: oklch(39.5% 0.137 7.4);
Tailwind
colors: {
  custom: {
    50: '#a9606f',
    500: '#7e1839',
    950: '#000000',
  },
}
SCSS
$custom: #7e1839;
$custom-light: #a9606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1839",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 340.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39537,
    "c": 0.1371,
    "h": 7.4
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#7E1839
secondary
#3FB28D
accent
#EBB33D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1839

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

Preview Lab → · Contrast checker → · Palette generator →

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