#7E143B#7E143B

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

Color values

HEX#7E143B
RGBrgb(126, 20, 59)
HSLhsl(338, 73%, 29%)
HSVhsv(338, 84%, 49%)
CMYKcmyk(0%, 84.1%, 53.2%, 50.6%)
CIE-LABlab(27.44, 45.95, 5.03)
CIE-LCHlch(27.44, 46.23, 6.25°)
OKLaboklab(39.29% 0.1406 0.0132)
OKLCHoklch(39.29% 0.141 5.4)
XYZxyz(9.6446, 5.2531, 4.6429)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E143B #147E57
analogous
#7E1470 #7E143B #7E2214
triadic
#7E143B #3B7E14 #143B7E
tetradic
#7E143B #707E14 #147E57 #22147E
square
#7E143B #707E14 #147E57 #22147E
split-complementary
#7E143B #147E22 #14707E
monochromatic
#1A040C #490C22 #7E143B #B31C54 #DE2E6F

Accessibility & contrast

On white

10.24
#7E143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E143B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E143B#FFFFFF#000000##FFFFFF
##7E143B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343C
Deuteranopia (green-blind)
#4C4838
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e143b;
/* rgb */ color: rgb(126, 20, 59);
/* oklch */ color: oklch(39.3% 0.141 5.4);
Tailwind
colors: {
  custom: {
    50: '#a95f70',
    500: '#7e143b',
    950: '#000000',
  },
}
SCSS
$custom: #7e143b;
$custom-light: #a95f70;
$custom-dark: #000000;
JSON
{
  "hex": "#7e143b",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 337.925,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39289,
    "c": 0.1412,
    "h": 5.4
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#7E143B
secondary
#3AB387
accent
#EFAC38
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E143B

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

Preview Lab → · Contrast checker → · Palette generator →

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