#7E1657#7E1657

#7E1657 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.151 H 348.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7E1657
RGBrgb(126, 22, 87)
HSLhsl(323, 70%, 29%)
HSVhsv(323, 83%, 49%)
CMYKcmyk(0%, 82.5%, 31%, 50.6%)
CIE-LABlab(28.64, 48.35, -11.92)
CIE-LCHlch(28.64, 49.80, 346.16°)
OKLaboklab(40.49% 0.1477 -0.0314)
OKLCHoklch(40.49% 0.151 348)
XYZxyz(10.6120, 5.6988, 9.5561)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1657 #167E3D
analogous
#71167E #7E1657 #7E1623
triadic
#7E1657 #577E16 #16577E
tetradic
#7E1657 #7E7116 #167E3D #16237E
square
#7E1657 #7E7116 #167E3D #16237E
split-complementary
#7E1657 #237E16 #167E71
monochromatic
#1A0512 #4A0D33 #7E1657 #B21F7B #DB339C

Accessibility & contrast

On white

9.81
#7E1657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1657
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1657#FFFFFF#000000##FFFFFF
##7E16571.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#881035
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1657;
/* rgb */ color: rgb(126, 22, 87);
/* oklch */ color: oklch(40.5% 0.151 348.0);
Tailwind
colors: {
  custom: {
    50: '#a76186',
    500: '#7e1657',
    950: '#000000',
  },
}
SCSS
$custom: #7e1657;
$custom-light: #a76186;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1657",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 322.5,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.15097,
    "h": 348
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#7E1657
secondary
#3DB369
accent
#ED7E3B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1657

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

Preview Lab → · Contrast checker → · Palette generator →

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