#7E1437#7E1437

#7E1437 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.140 H 7.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7E1437
RGBrgb(126, 20, 55)
HSLhsl(340, 73%, 29%)
HSVhsv(340, 84%, 49%)
CMYKcmyk(0%, 84.1%, 56.3%, 50.6%)
CIE-LABlab(27.33, 45.62, 7.58)
CIE-LCHlch(27.33, 46.25, 9.44°)
OKLaboklab(39.17% 0.139 0.0194)
OKLCHoklch(39.17% 0.14 7.9)
XYZxyz(9.5449, 5.2132, 4.1173)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1437 #147E5B
analogous
#7E146C #7E1437 #7E2614
triadic
#7E1437 #377E14 #14377E
tetradic
#7E1437 #6C7E14 #147E5B #26147E
square
#7E1437 #6C7E14 #147E5B #26147E
split-complementary
#7E1437 #147E26 #146C7E
monochromatic
#1A040C #490C20 #7E1437 #B31C4E #DE2E68

Accessibility & contrast

On white

10.28
#7E1437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1437
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1437#FFFFFF#000000##FFFFFF
##7E14371.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1437;
/* rgb */ color: rgb(126, 20, 55);
/* oklch */ color: oklch(39.2% 0.140 7.9);
Tailwind
colors: {
  custom: {
    50: '#a95f6d',
    500: '#7e1437',
    950: '#000000',
  },
}
SCSS
$custom: #7e1437;
$custom-light: #a95f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1437",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 55
  },
  "hsl": {
    "h": 340.189,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39172,
    "c": 0.14033,
    "h": 7.9
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#7E1437
secondary
#3AB38B
accent
#EFB338
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1437

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

Preview Lab → · Contrast checker → · Palette generator →

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