#7E1740#7E1740

#7E1740 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.140 H 2.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7E1740
RGBrgb(126, 23, 64)
HSLhsl(336, 69%, 29%)
HSVhsv(336, 82%, 49%)
CMYKcmyk(0%, 81.7%, 49.2%, 50.6%)
CIE-LABlab(27.90, 45.53, 2.31)
CIE-LCHlch(27.90, 45.59, 2.90°)
OKLaboklab(39.67% 0.1397 0.0064)
OKLCHoklch(39.67% 0.14 2.6)
XYZxyz(9.8368, 5.4199, 5.3777)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1740 #177E55
analogous
#7E1774 #7E1740 #7E2217
triadic
#7E1740 #407E17 #17407E
tetradic
#7E1740 #747E17 #177E55 #22177E
square
#7E1740 #747E17 #177E55 #22177E
split-complementary
#7E1740 #177E22 #17747E
monochromatic
#1A050D #4A0E26 #7E1740 #B2205A #DA3577

Accessibility & contrast

On white

10.08
#7E1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1740
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1740#FFFFFF#000000##FFFFFF
##7E17401.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#890029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1740;
/* rgb */ color: rgb(126, 23, 64);
/* oklch */ color: oklch(39.7% 0.140 2.6);
Tailwind
colors: {
  custom: {
    50: '#a96074',
    500: '#7e1740',
    950: '#000000',
  },
}
SCSS
$custom: #7e1740;
$custom-light: #a96074;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1740",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 336.117,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39671,
    "c": 0.13983,
    "h": 2.6
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#7E1740
secondary
#3EB384
accent
#ECA63C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1740

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

Preview Lab → · Contrast checker → · Palette generator →

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