#7E165F#7E165F

#7E165F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.156 H 343.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7E165F
RGBrgb(126, 22, 95)
HSLhsl(318, 70%, 29%)
HSVhsv(318, 83%, 49%)
CMYKcmyk(0%, 82.5%, 24.6%, 50.6%)
CIE-LABlab(29.00, 49.39, -16.61)
CIE-LCHlch(29.00, 52.11, 341.41°)
OKLaboklab(40.86% 0.1493 -0.0445)
OKLCHoklch(40.86% 0.156 343.4)
XYZxyz(10.9571, 5.8369, 11.3738)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E165F #167E35
analogous
#69167E #7E165F #7E162B
triadic
#7E165F #5F7E16 #165F7E
tetradic
#7E165F #7E6916 #167E35 #162B7E
square
#7E165F #7E6916 #167E35 #162B7E
split-complementary
#7E165F #2B7E16 #167E69
monochromatic
#1A0514 #4A0D38 #7E165F #B21F86 #DB33A9

Accessibility & contrast

On white

9.69
#7E165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E165F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E165F#FFFFFF#000000##FFFFFF
##7E165F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#444A5D
Tritanopia (blue-blind)
#871639
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e165f;
/* rgb */ color: rgb(126, 22, 95);
/* oklch */ color: oklch(40.9% 0.156 343.4);
Tailwind
colors: {
  custom: {
    50: '#a7618c',
    500: '#7e165f',
    950: '#000000',
  },
}
SCSS
$custom: #7e165f;
$custom-light: #a7618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e165f",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 317.885,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40863,
    "c": 0.15576,
    "h": 343.4
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#7E165F
secondary
#3DB360
accent
#ED703B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E165F

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

Preview Lab → · Contrast checker → · Palette generator →

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