#7E1739#7E1739

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

Color values

HEX#7E1739
RGBrgb(126, 23, 57)
HSLhsl(340, 69%, 29%)
HSVhsv(340, 82%, 49%)
CMYKcmyk(0%, 81.7%, 54.8%, 50.6%)
CIE-LABlab(27.70, 44.91, 6.74)
CIE-LCHlch(27.70, 45.41, 8.53°)
OKLaboklab(39.46% 0.137 0.0174)
OKLCHoklch(39.46% 0.138 7.2)
XYZxyz(9.6500, 5.3452, 4.3937)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1739 #177E5C
analogous
#7E176D #7E1739 #7E2817
triadic
#7E1739 #397E17 #17397E
tetradic
#7E1739 #6D7E17 #177E5C #28177E
square
#7E1739 #6D7E17 #177E5C #28177E
split-complementary
#7E1739 #177E28 #176D7E
monochromatic
#1A050C #4A0E22 #7E1739 #B22050 #DA356C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1739#FFFFFF#000000##FFFFFF
##7E17391.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)
#32343A
Deuteranopia (green-blind)
#4D4937
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1739;
/* rgb */ color: rgb(126, 23, 57);
/* oklch */ color: oklch(39.5% 0.138 7.2);
Tailwind
colors: {
  custom: {
    50: '#a9606f',
    500: '#7e1739',
    950: '#000000',
  },
}
SCSS
$custom: #7e1739;
$custom-light: #a9606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1739",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 57
  },
  "hsl": {
    "h": 340.194,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.13806,
    "h": 7.2
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#7E1739
secondary
#3EB38C
accent
#ECB23C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1739

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

Preview Lab → · Contrast checker → · Palette generator →

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