#7E143A#7E143A

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

Color values

HEX#7E143A
RGBrgb(126, 20, 58)
HSLhsl(338, 73%, 29%)
HSVhsv(338, 84%, 49%)
CMYKcmyk(0%, 84.1%, 54%, 50.6%)
CIE-LABlab(27.42, 45.87, 5.67)
CIE-LCHlch(27.42, 46.22, 7.04°)
OKLaboklab(39.26% 0.1402 0.0147)
OKLCHoklch(39.26% 0.141 6)
XYZxyz(9.6190, 5.2428, 4.5076)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E143A #147E58
analogous
#7E146F #7E143A #7E2314
triadic
#7E143A #3A7E14 #143A7E
tetradic
#7E143A #6F7E14 #147E58 #23147E
square
#7E143A #6F7E14 #147E58 #23147E
split-complementary
#7E143A #147E23 #146F7E
monochromatic
#1A040C #490C22 #7E143A #B31C52 #DE2E6D

Accessibility & contrast

On white

10.25
#7E143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E143A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E143A#FFFFFF#000000##FFFFFF
##7E143A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31333B
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e143a;
/* rgb */ color: rgb(126, 20, 58);
/* oklch */ color: oklch(39.3% 0.141 6.0);
Tailwind
colors: {
  custom: {
    50: '#a95f6f',
    500: '#7e143a',
    950: '#000000',
  },
}
SCSS
$custom: #7e143a;
$custom-light: #a95f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e143a",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 338.491,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.14096,
    "h": 6
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#7E143A
secondary
#3AB388
accent
#EFAE38
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E143A

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

Preview Lab → · Contrast checker → · Palette generator →

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