#7E1438#7E1438

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

Color values

HEX#7E1438
RGBrgb(126, 20, 56)
HSLhsl(340, 73%, 29%)
HSVhsv(340, 84%, 49%)
CMYKcmyk(0%, 84.1%, 55.6%, 50.6%)
CIE-LABlab(27.36, 45.70, 6.94)
CIE-LCHlch(27.36, 46.23, 8.64°)
OKLaboklab(39.2% 0.1394 0.0178)
OKLCHoklch(39.2% 0.141 7.3)
XYZxyz(9.5691, 5.2228, 4.2449)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1438 #147E5A
analogous
#7E146D #7E1438 #7E2514
triadic
#7E1438 #387E14 #14387E
tetradic
#7E1438 #6D7E14 #147E5A #25147E
square
#7E1438 #6D7E14 #147E5A #25147E
split-complementary
#7E1438 #147E25 #146D7E
monochromatic
#1A040C #490C21 #7E1438 #B31C4F #DE2E6A

Accessibility & contrast

On white

10.27
#7E1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1438
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1438#FFFFFF#000000##FFFFFF
##7E14381.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1438;
/* rgb */ color: rgb(126, 20, 56);
/* oklch */ color: oklch(39.2% 0.141 7.3);
Tailwind
colors: {
  custom: {
    50: '#a95f6e',
    500: '#7e1438',
    950: '#000000',
  },
}
SCSS
$custom: #7e1438;
$custom-light: #a95f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1438",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 339.623,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.392,
    "c": 0.14053,
    "h": 7.3
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#7E1438
secondary
#3AB38A
accent
#EFB138
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1438

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

Preview Lab → · Contrast checker → · Palette generator →

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