#7E163A#7E163A

#7E163A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.139 H 6.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#7E163A
RGBrgb(126, 22, 58)
HSLhsl(339, 70%, 29%)
HSVhsv(339, 83%, 49%)
CMYKcmyk(0%, 82.5%, 54%, 50.6%)
CIE-LABlab(27.62, 45.30, 5.95)
CIE-LCHlch(27.62, 45.68, 7.49°)
OKLaboklab(39.41% 0.1383 0.0154)
OKLCHoklch(39.41% 0.139 6.4)
XYZxyz(9.6557, 5.3163, 4.5199)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E163A #167E5A
analogous
#7E166E #7E163A #7E2616
triadic
#7E163A #3A7E16 #163A7E
tetradic
#7E163A #6E7E16 #167E5A #26167E
square
#7E163A #6E7E16 #167E5A #26167E
split-complementary
#7E163A #167E26 #166E7E
monochromatic
#1A050C #4A0D22 #7E163A #B21F52 #DB336D

Accessibility & contrast

On white

10.18
#7E163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E163A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E163A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E163A#FFFFFF#000000##FFFFFF
##7E163A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343B
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e163a;
/* rgb */ color: rgb(126, 22, 58);
/* oklch */ color: oklch(39.4% 0.139 6.4);
Tailwind
colors: {
  custom: {
    50: '#a9606f',
    500: '#7e163a',
    950: '#000000',
  },
}
SCSS
$custom: #7e163a;
$custom-light: #a9606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e163a",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 339.231,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.13919,
    "h": 6.4
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#7E163A
secondary
#3DB38A
accent
#EDAF3B
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E163A

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

Preview Lab → · Contrast checker → · Palette generator →

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