#7E1334#7E1334

#7E1334 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.141 H 9.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7E1334
RGBrgb(126, 19, 52)
HSLhsl(341, 74%, 28%)
HSVhsv(341, 85%, 49%)
CMYKcmyk(0%, 84.9%, 58.7%, 50.6%)
CIE-LABlab(27.16, 45.66, 9.38)
CIE-LCHlch(27.16, 46.62, 11.60°)
OKLaboklab(39.02% 0.1387 0.0236)
OKLCHoklch(39.02% 0.141 9.7)
XYZxyz(9.4578, 5.1507, 3.7443)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1334 #137E5D
analogous
#7E1369 #7E1334 #7E2713
triadic
#7E1334 #347E13 #13347E
tetradic
#7E1334 #697E13 #137E5D #27137E
square
#7E1334 #697E13 #137E5D #27137E
split-complementary
#7E1334 #137E27 #13697E
monochromatic
#1B040B #490B1E #7E1334 #B31B4A #DF2C63

Accessibility & contrast

On white

10.35
#7E1334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1334
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1334#FFFFFF#000000##FFFFFF
##7E13341.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1334;
/* rgb */ color: rgb(126, 19, 52);
/* oklch */ color: oklch(39.0% 0.141 9.7);
Tailwind
colors: {
  custom: {
    50: '#aa5e6b',
    500: '#7e1334',
    950: '#000000',
  },
}
SCSS
$custom: #7e1334;
$custom-light: #aa5e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1334",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 341.495,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.14064,
    "h": 9.7
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#7E1334
secondary
#39B48E
accent
#F0B737
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1334

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

Preview Lab → · Contrast checker → · Palette generator →

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