#7E1A63#7E1A63

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

Color values

HEX#7E1A63
RGBrgb(126, 26, 99)
HSLhsl(316, 66%, 30%)
HSVhsv(316, 79%, 49%)
CMYKcmyk(0%, 79.4%, 21.4%, 50.6%)
CIE-LABlab(29.60, 48.75, -18.27)
CIE-LCHlch(29.60, 52.06, 339.45°)
OKLaboklab(41.36% 0.1463 -0.0492)
OKLCHoklch(41.36% 0.154 341.4)
XYZxyz(11.2261, 6.0764, 12.3836)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A63 #1A7E35
analogous
#671A7E #7E1A63 #7E1A31
triadic
#7E1A63 #637E1A #1A637E
tetradic
#7E1A63 #7E671A #1A7E35 #1A317E
square
#7E1A63 #7E671A #1A7E35 #1A317E
split-complementary
#7E1A63 #317E1A #1A7E67
monochromatic
#190514 #4B103B #7E1A63 #B1248B #D73CAD

Accessibility & contrast

On white

9.48
#7E1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A63
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A63#FFFFFF#000000##FFFFFF
##7E1A631.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B65
Deuteranopia (green-blind)
#444B61
Tritanopia (blue-blind)
#861C3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1a63;
/* rgb */ color: rgb(126, 26, 99);
/* oklch */ color: oklch(41.4% 0.154 341.4);
Tailwind
colors: {
  custom: {
    50: '#a7628f',
    500: '#7e1a63',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a63;
$custom-light: #a7628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a63",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 316.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41363,
    "c": 0.15431,
    "h": 341.4
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#7E1A63
secondary
#42B260
accent
#E96D3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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