#7E1638#7E1638

#7E1638 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.139 H 7.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7E1638
RGBrgb(126, 22, 56)
HSLhsl(340, 70%, 29%)
HSVhsv(340, 83%, 49%)
CMYKcmyk(0%, 82.5%, 55.6%, 50.6%)
CIE-LABlab(27.56, 45.13, 7.23)
CIE-LCHlch(27.56, 45.70, 9.10°)
OKLaboklab(39.35% 0.1375 0.0185)
OKLCHoklch(39.35% 0.139 7.7)
XYZxyz(9.6058, 5.2963, 4.2571)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1638 #167E5C
analogous
#7E166C #7E1638 #7E2816
triadic
#7E1638 #387E16 #16387E
tetradic
#7E1638 #6C7E16 #167E5C #28167E
square
#7E1638 #6C7E16 #167E5C #28167E
split-complementary
#7E1638 #167E28 #166C7E
monochromatic
#1A050C #4A0D21 #7E1638 #B21F4F #DB336A

Accessibility & contrast

On white

10.20
#7E1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1638
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1638#FFFFFF#000000##FFFFFF
##7E16381.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1638;
/* rgb */ color: rgb(126, 22, 56);
/* oklch */ color: oklch(39.3% 0.139 7.7);
Tailwind
colors: {
  custom: {
    50: '#a95f6e',
    500: '#7e1638',
    950: '#000000',
  },
}
SCSS
$custom: #7e1638;
$custom-light: #a95f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1638",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 340.385,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.13877,
    "h": 7.7
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#7E1638
secondary
#3DB38C
accent
#EDB33B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1638

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

Preview Lab → · Contrast checker → · Palette generator →

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