#7E2863#7E2863

#7E2863 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.137 H 342.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7E2863
RGBrgb(126, 40, 99)
HSLhsl(319, 52%, 33%)
HSVhsv(319, 68%, 49%)
CMYKcmyk(0%, 68.3%, 21.4%, 50.6%)
CIE-LABlab(31.48, 43.49, -15.38)
CIE-LCHlch(31.48, 46.13, 340.52°)
OKLaboklab(42.72% 0.1302 -0.0412)
OKLCHoklch(42.72% 0.137 342.5)
XYZxyz(11.6155, 6.8552, 12.5134)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2863 #287E43
analogous
#6E287E #7E2863 #7E2838
triadic
#7E2863 #637E28 #28637E
tetradic
#7E2863 #7E6E28 #287E43 #28387E
square
#7E2863 #7E6E28 #287E43 #28387E
split-complementary
#7E2863 #387E28 #287E6E
monochromatic
#210B1A #50193F #7E2863 #AC3787 #CA57A6

Accessibility & contrast

On white

8.86
#7E2863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E2863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2863
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2863#FFFFFF#000000##FFFFFF
##7E28631.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4165
Deuteranopia (green-blind)
#494F61
Tritanopia (blue-blind)
#862941
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2863;
/* rgb */ color: rgb(126, 40, 99);
/* oklch */ color: oklch(42.7% 0.137 342.5);
Tailwind
colors: {
  custom: {
    50: '#a6698f',
    500: '#7e2863',
    950: '#000000',
  },
}
SCSS
$custom: #7e2863;
$custom-light: #a6698f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2863",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 318.837,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.13658,
    "h": 342.5
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#7E2863
secondary
#53AF70
accent
#DB794D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2863

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

Preview Lab → · Contrast checker → · Palette generator →

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