#7E1434#7E1434

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

Color values

HEX#7E1434
RGBrgb(126, 20, 52)
HSLhsl(342, 73%, 29%)
HSVhsv(342, 84%, 49%)
CMYKcmyk(0%, 84.1%, 58.7%, 50.6%)
CIE-LABlab(27.26, 45.39, 9.51)
CIE-LCHlch(27.26, 46.37, 11.83°)
OKLaboklab(39.09% 0.1378 0.0239)
OKLCHoklch(39.09% 0.14 9.9)
XYZxyz(9.4751, 5.1853, 3.7501)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1434 #147E5E
analogous
#7E1469 #7E1434 #7E2914
triadic
#7E1434 #347E14 #14347E
tetradic
#7E1434 #697E14 #147E5E #29147E
square
#7E1434 #697E14 #147E5E #29147E
split-complementary
#7E1434 #147E29 #14697E
monochromatic
#1A040B #490C1E #7E1434 #B31C4A #DE2E63

Accessibility & contrast

On white

10.31
#7E1434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1434
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1434#FFFFFF#000000##FFFFFF
##7E14341.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323335
Deuteranopia (green-blind)
#4D4831
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1434;
/* rgb */ color: rgb(126, 20, 52);
/* oklch */ color: oklch(39.1% 0.140 9.9);
Tailwind
colors: {
  custom: {
    50: '#a95f6b',
    500: '#7e1434',
    950: '#000000',
  },
}
SCSS
$custom: #7e1434;
$custom-light: #a95f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1434",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 52
  },
  "hsl": {
    "h": 341.887,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39089,
    "c": 0.13982,
    "h": 9.9
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#7E1434
secondary
#3AB38F
accent
#EFB838
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1434

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

Preview Lab → · Contrast checker → · Palette generator →

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