#7E163B#7E163B

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

Color values

HEX#7E163B
RGBrgb(126, 22, 59)
HSLhsl(339, 70%, 29%)
HSVhsv(339, 83%, 49%)
CMYKcmyk(0%, 82.5%, 53.2%, 50.6%)
CIE-LABlab(27.65, 45.38, 5.32)
CIE-LCHlch(27.65, 45.69, 6.68°)
OKLaboklab(39.44% 0.1387 0.0139)
OKLCHoklch(39.44% 0.139 5.7)
XYZxyz(9.6814, 5.3266, 4.6552)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E163B #167E59
analogous
#7E166F #7E163B #7E2516
triadic
#7E163B #3B7E16 #163B7E
tetradic
#7E163B #6F7E16 #167E59 #25167E
square
#7E163B #6F7E16 #167E59 #25167E
split-complementary
#7E163B #167E25 #166F7E
monochromatic
#1A050C #4A0D23 #7E163B #B21F53 #DB336F

Accessibility & contrast

On white

10.17
#7E163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E163B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E163B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E163B#FFFFFF#000000##FFFFFF
##7E163B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e163b;
/* rgb */ color: rgb(126, 22, 59);
/* oklch */ color: oklch(39.4% 0.139 5.7);
Tailwind
colors: {
  custom: {
    50: '#a96070',
    500: '#7e163b',
    950: '#000000',
  },
}
SCSS
$custom: #7e163b;
$custom-light: #a96070;
$custom-dark: #000000;
JSON
{
  "hex": "#7e163b",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 338.654,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.13942,
    "h": 5.7
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#7E163B
secondary
#3DB389
accent
#EDAE3B
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E163B

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

Preview Lab → · Contrast checker → · Palette generator →

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