#7E1736#7E1736

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

Color values

HEX#7E1736
RGBrgb(126, 23, 54)
HSLhsl(342, 69%, 29%)
HSVhsv(342, 82%, 49%)
CMYKcmyk(0%, 81.7%, 57.1%, 50.6%)
CIE-LABlab(27.62, 44.67, 8.65)
CIE-LCHlch(27.62, 45.50, 10.97°)
OKLaboklab(39.37% 0.1357 0.0219)
OKLCHoklch(39.37% 0.138 9.2)
XYZxyz(9.5774, 5.3161, 4.0111)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1736 #177E5F
analogous
#7E176A #7E1736 #7E2C17
triadic
#7E1736 #367E17 #17367E
tetradic
#7E1736 #6A7E17 #177E5F #2C177E
square
#7E1736 #6A7E17 #177E5F #2C177E
split-complementary
#7E1736 #177E2C #176A7E
monochromatic
#1A050B #4A0E20 #7E1736 #B2204C #DA3567

Accessibility & contrast

On white

10.18
#7E1736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1736
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1736#FFFFFF#000000##FFFFFF
##7E17361.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1736;
/* rgb */ color: rgb(126, 23, 54);
/* oklch */ color: oklch(39.4% 0.138 9.2);
Tailwind
colors: {
  custom: {
    50: '#a9606c',
    500: '#7e1736',
    950: '#000000',
  },
}
SCSS
$custom: #7e1736;
$custom-light: #a9606c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1736",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 341.942,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39372,
    "c": 0.1375,
    "h": 9.2
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#7E1736
secondary
#3EB390
accent
#ECB73C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1736

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

Preview Lab → · Contrast checker → · Palette generator →

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