#7E1637#7E1637

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

Color values

HEX#7E1637
RGBrgb(126, 22, 55)
HSLhsl(341, 70%, 29%)
HSVhsv(341, 83%, 49%)
CMYKcmyk(0%, 82.5%, 56.3%, 50.6%)
CIE-LABlab(27.54, 45.05, 7.87)
CIE-LCHlch(27.54, 45.73, 9.91°)
OKLaboklab(39.32% 0.1371 0.0201)
OKLCHoklch(39.32% 0.139 8.3)
XYZxyz(9.5816, 5.2867, 4.1296)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1637 #167E5D
analogous
#7E166B #7E1637 #7E2916
triadic
#7E1637 #377E16 #16377E
tetradic
#7E1637 #6B7E16 #167E5D #29167E
square
#7E1637 #6B7E16 #167E5D #29167E
split-complementary
#7E1637 #167E29 #166B7E
monochromatic
#1A050B #4A0D20 #7E1637 #B21F4E #DB3368

Accessibility & contrast

On white

10.21
#7E1637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1637
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1637#FFFFFF#000000##FFFFFF
##7E16371.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1637;
/* rgb */ color: rgb(126, 22, 55);
/* oklch */ color: oklch(39.3% 0.139 8.3);
Tailwind
colors: {
  custom: {
    50: '#a95f6d',
    500: '#7e1637',
    950: '#000000',
  },
}
SCSS
$custom: #7e1637;
$custom-light: #a95f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1637",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 55
  },
  "hsl": {
    "h": 340.962,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.13858,
    "h": 8.3
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#7E1637
secondary
#3DB38D
accent
#EDB43B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1637

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

Preview Lab → · Contrast checker → · Palette generator →

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