#7E1E37#7E1E37

#7E1E37 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.131 H 10.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E1E37
RGBrgb(126, 30, 55)
HSLhsl(344, 62%, 31%)
HSVhsv(344, 76%, 49%)
CMYKcmyk(0%, 76.2%, 56.3%, 50.6%)
CIE-LABlab(28.49, 42.37, 9.19)
CIE-LCHlch(28.49, 43.35, 12.24°)
OKLaboklab(40.02% 0.1285 0.0233)
OKLCHoklch(40.02% 0.131 10.3)
XYZxyz(9.7590, 5.6414, 4.1887)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E37 #1E7E65
analogous
#7E1E67 #7E1E37 #7E351E
triadic
#7E1E37 #377E1E #1E377E
tetradic
#7E1E37 #677E1E #1E7E65 #351E7E
square
#7E1E37 #677E1E #1E7E65 #351E7E
split-complementary
#7E1E37 #1E7E35 #1E677E
monochromatic
#1B060C #4D1221 #7E1E37 #AF2A4D #D24469

Accessibility & contrast

On white

9.87
#7E1E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E37
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E37#FFFFFF#000000##FFFFFF
##7E1E371.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373737
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#8A0428
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e37;
/* rgb */ color: rgb(126, 30, 55);
/* oklch */ color: oklch(40.0% 0.131 10.3);
Tailwind
colors: {
  custom: {
    50: '#a9636d',
    500: '#7e1e37',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e37;
$custom-light: #a9636d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e37",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 55
  },
  "hsl": {
    "h": 344.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.13057,
    "h": 10.3
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#7E1E37
secondary
#47B195
accent
#E5BB43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E1E37

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

Preview Lab → · Contrast checker → · Palette generator →

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