#7E143C#7E143C

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

Color values

HEX#7E143C
RGBrgb(126, 20, 60)
HSLhsl(337, 73%, 29%)
HSVhsv(337, 84%, 49%)
CMYKcmyk(0%, 84.1%, 52.4%, 50.6%)
CIE-LABlab(27.47, 46.04, 4.40)
CIE-LCHlch(27.47, 46.25, 5.45°)
OKLaboklab(39.32% 0.141 0.0116)
OKLCHoklch(39.32% 0.141 4.7)
XYZxyz(9.6708, 5.2636, 4.7808)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E143C #147E56
analogous
#7E1471 #7E143C #7E2114
triadic
#7E143C #3C7E14 #143C7E
tetradic
#7E143C #717E14 #147E56 #21147E
square
#7E143C #717E14 #147E56 #21147E
split-complementary
#7E143C #147E21 #14717E
monochromatic
#1A040D #490C23 #7E143C #B31C55 #DE2E71

Accessibility & contrast

On white

10.23
#7E143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E143C
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E143C#FFFFFF#000000##FFFFFF
##7E143C1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30343D
Deuteranopia (green-blind)
#4C483A
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e143c;
/* rgb */ color: rgb(126, 20, 60);
/* oklch */ color: oklch(39.3% 0.141 4.7);
Tailwind
colors: {
  custom: {
    50: '#a95f71',
    500: '#7e143c',
    950: '#000000',
  },
}
SCSS
$custom: #7e143c;
$custom-light: #a95f71;
$custom-dark: #000000;
JSON
{
  "hex": "#7e143c",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 337.358,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.14145,
    "h": 4.7
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#7E143C
secondary
#3AB386
accent
#EFAA38
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E143C

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

Preview Lab → · Contrast checker → · Palette generator →

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