#7E165B#7E165B

#7E165B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.153 H 345.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7E165B
RGBrgb(126, 22, 91)
HSLhsl(320, 70%, 29%)
HSVhsv(320, 83%, 49%)
CMYKcmyk(0%, 82.5%, 27.8%, 50.6%)
CIE-LABlab(28.81, 48.86, -14.28)
CIE-LCHlch(28.81, 50.90, 343.71°)
OKLaboklab(40.67% 0.1485 -0.0379)
OKLCHoklch(40.67% 0.153 345.7)
XYZxyz(10.7799, 5.7660, 10.4408)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E165B #167E39
analogous
#6D167E #7E165B #7E1627
triadic
#7E165B #5B7E16 #165B7E
tetradic
#7E165B #7E6D16 #167E39 #16277E
square
#7E165B #7E6D16 #167E39 #16277E
split-complementary
#7E165B #277E16 #167E6D
monochromatic
#1A0513 #4A0D35 #7E165B #B21F81 #DB33A3

Accessibility & contrast

On white

9.75
#7E165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E165B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E165B#FFFFFF#000000##FFFFFF
##7E165B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395D
Deuteranopia (green-blind)
#454A59
Tritanopia (blue-blind)
#871337
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e165b;
/* rgb */ color: rgb(126, 22, 91);
/* oklch */ color: oklch(40.7% 0.153 345.7);
Tailwind
colors: {
  custom: {
    50: '#a76189',
    500: '#7e165b',
    950: '#000000',
  },
}
SCSS
$custom: #7e165b;
$custom-light: #a76189;
$custom-dark: #000000;
JSON
{
  "hex": "#7e165b",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 320.192,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40671,
    "c": 0.1533,
    "h": 345.7
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#7E165B
secondary
#3DB365
accent
#ED773B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E165B

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

Preview Lab → · Contrast checker → · Palette generator →

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