#7E163F#7E163F

#7E163F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.140 H 3.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7E163F
RGBrgb(126, 22, 63)
HSLhsl(336, 70%, 29%)
HSVhsv(336, 83%, 49%)
CMYKcmyk(0%, 82.5%, 50%, 50.6%)
CIE-LABlab(27.76, 45.74, 2.79)
CIE-LCHlch(27.76, 45.82, 3.49°)
OKLaboklab(39.56% 0.1403 0.0076)
OKLCHoklch(39.56% 0.14 3.1)
XYZxyz(9.7891, 5.3697, 5.2226)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E163F #167E55
analogous
#7E1673 #7E163F #7E2116
triadic
#7E163F #3F7E16 #163F7E
tetradic
#7E163F #737E16 #167E55 #21167E
square
#7E163F #737E16 #167E55 #21167E
split-complementary
#7E163F #167E21 #16737E
monochromatic
#1A050D #4A0D25 #7E163F #B21F59 #DB3375

Accessibility & contrast

On white

10.13
#7E163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E163F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E163F#FFFFFF#000000##FFFFFF
##7E163F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303540
Deuteranopia (green-blind)
#4C493D
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e163f;
/* rgb */ color: rgb(126, 22, 63);
/* oklch */ color: oklch(39.6% 0.140 3.1);
Tailwind
colors: {
  custom: {
    50: '#a96073',
    500: '#7e163f',
    950: '#000000',
  },
}
SCSS
$custom: #7e163f;
$custom-light: #a96073;
$custom-dark: #000000;
JSON
{
  "hex": "#7e163f",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 336.346,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39561,
    "c": 0.14048,
    "h": 3.1
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#7E163F
secondary
#3DB384
accent
#EDA73B
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E163F

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

Preview Lab → · Contrast checker → · Palette generator →

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