#7E164B#7E164B

#7E164B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 355.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7E164B
RGBrgb(126, 22, 75)
HSLhsl(329, 70%, 29%)
HSVhsv(329, 83%, 49%)
CMYKcmyk(0%, 82.5%, 40.5%, 50.6%)
CIE-LABlab(28.16, 46.95, -4.68)
CIE-LCHlch(28.16, 47.18, 354.31°)
OKLaboklab(39.99% 0.1444 -0.0117)
OKLCHoklch(39.99% 0.145 355.4)
XYZxyz(10.1618, 5.5187, 7.1854)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E164B #167E49
analogous
#7D167E #7E164B #7E1617
triadic
#7E164B #4B7E16 #164B7E
tetradic
#7E164B #7E7D16 #167E49 #16177E
square
#7E164B #7E7D16 #167E49 #16177E
split-complementary
#7E164B #177E16 #167E7D
monochromatic
#1A0510 #4A0D2C #7E164B #B21F6A #DB3389

Accessibility & contrast

On white

9.98
#7E164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E164B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E164B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E164B#FFFFFF#000000##FFFFFF
##7E164B1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#89052F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e164b;
/* rgb */ color: rgb(126, 22, 75);
/* oklch */ color: oklch(40.0% 0.145 355.4);
Tailwind
colors: {
  custom: {
    50: '#a8607d',
    500: '#7e164b',
    950: '#000000',
  },
}
SCSS
$custom: #7e164b;
$custom-light: #a8607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e164b",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 329.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.1449,
    "h": 355.4
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#7E164B
secondary
#3DB377
accent
#ED923B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E164B

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

Preview Lab → · Contrast checker → · Palette generator →

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