#7E1738#7E1738

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

Color values

HEX#7E1738
RGBrgb(126, 23, 56)
HSLhsl(341, 69%, 29%)
HSVhsv(341, 82%, 49%)
CMYKcmyk(0%, 81.7%, 55.6%, 50.6%)
CIE-LABlab(27.67, 44.83, 7.38)
CIE-LCHlch(27.67, 45.43, 9.34°)
OKLaboklab(39.43% 0.1366 0.0189)
OKLCHoklch(39.43% 0.138 7.9)
XYZxyz(9.6253, 5.3353, 4.2636)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1738 #177E5D
analogous
#7E176C #7E1738 #7E2A17
triadic
#7E1738 #387E17 #17387E
tetradic
#7E1738 #6C7E17 #177E5D #2A177E
square
#7E1738 #6C7E17 #177E5D #2A177E
split-complementary
#7E1738 #177E2A #176C7E
monochromatic
#1A050C #4A0E21 #7E1738 #B2204F #DA356A

Accessibility & contrast

On white

10.16
#7E1738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1738
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1738#FFFFFF#000000##FFFFFF
##7E17381.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4D4935
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1738;
/* rgb */ color: rgb(126, 23, 56);
/* oklch */ color: oklch(39.4% 0.138 7.9);
Tailwind
colors: {
  custom: {
    50: '#a9606e',
    500: '#7e1738',
    950: '#000000',
  },
}
SCSS
$custom: #7e1738;
$custom-light: #a9606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1738",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 340.777,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.13785,
    "h": 7.9
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#7E1738
secondary
#3EB38D
accent
#ECB43C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1738

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

Preview Lab → · Contrast checker → · Palette generator →

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