#7E1863#7E1863

#7E1863 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.156 H 341.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7E1863
RGBrgb(126, 24, 99)
HSLhsl(316, 68%, 29%)
HSVhsv(316, 81%, 49%)
CMYKcmyk(0%, 81%, 21.4%, 50.6%)
CIE-LABlab(29.39, 49.36, -18.61)
CIE-LCHlch(29.39, 52.75, 339.35°)
OKLaboklab(41.21% 0.1481 -0.0501)
OKLCHoklch(41.21% 0.156 341.3)
XYZxyz(11.1833, 5.9909, 12.3694)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1863 #187E33
analogous
#66187E #7E1863 #7E1830
triadic
#7E1863 #637E18 #18637E
tetradic
#7E1863 #7E6618 #187E33 #18307E
square
#7E1863 #7E6618 #187E33 #18307E
split-complementary
#7E1863 #307E18 #187E66
monochromatic
#1A0514 #4B0E3B #7E1863 #B1228B #D937AE

Accessibility & contrast

On white

9.55
#7E1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1863
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1863#FFFFFF#000000##FFFFFF
##7E18631.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B65
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#861A3C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1863;
/* rgb */ color: rgb(126, 24, 99);
/* oklch */ color: oklch(41.2% 0.156 341.3);
Tailwind
colors: {
  custom: {
    50: '#a7628f',
    500: '#7e1863',
    950: '#000000',
  },
}
SCSS
$custom: #7e1863;
$custom-light: #a7628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1863",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 315.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.15639,
    "h": 341.3
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#7E1863
secondary
#3FB25E
accent
#EB6B3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1863

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

Preview Lab → · Contrast checker → · Palette generator →

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