#7E1B63#7E1B63

#7E1B63 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.153 H 341.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7E1B63
RGBrgb(126, 27, 99)
HSLhsl(316, 65%, 30%)
HSVhsv(316, 79%, 49%)
CMYKcmyk(0%, 78.6%, 21.4%, 50.6%)
CIE-LABlab(29.72, 48.43, -18.10)
CIE-LCHlch(29.72, 51.70, 339.51°)
OKLaboklab(41.45% 0.1453 -0.0487)
OKLCHoklch(41.45% 0.153 341.5)
XYZxyz(11.2486, 6.1215, 12.3911)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B63 #1B7E36
analogous
#681B7E #7E1B63 #7E1B31
triadic
#7E1B63 #637E1B #1B637E
tetradic
#7E1B63 #7E681B #1B7E36 #1B317E
square
#7E1B63 #7E681B #1B7E36 #1B317E
split-complementary
#7E1B63 #317E1B #1B7E68
monochromatic
#190514 #4C103B #7E1B63 #B0268B #D63EAC

Accessibility & contrast

On white

9.44
#7E1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B63
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B63#FFFFFF#000000##FFFFFF
##7E1B631.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C65
Deuteranopia (green-blind)
#444C61
Tritanopia (blue-blind)
#861D3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1b63;
/* rgb */ color: rgb(126, 27, 99);
/* oklch */ color: oklch(41.4% 0.153 341.5);
Tailwind
colors: {
  custom: {
    50: '#a7638f',
    500: '#7e1b63',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b63;
$custom-light: #a7638f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b63",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 316.364,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.15323,
    "h": 341.5
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#7E1B63
secondary
#43B261
accent
#E86E40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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