#7E1865#7E1865

#7E1865 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.158 H 340.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7E1865
RGBrgb(126, 24, 101)
HSLhsl(315, 68%, 29%)
HSVhsv(315, 81%, 49%)
CMYKcmyk(0%, 81%, 19.8%, 50.6%)
CIE-LABlab(29.49, 49.65, -19.75)
CIE-LCHlch(29.49, 53.43, 338.31°)
OKLaboklab(41.31% 0.1484 -0.0533)
OKLCHoklch(41.31% 0.158 340.2)
XYZxyz(11.2801, 6.0296, 12.8792)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1865 #187E31
analogous
#64187E #7E1865 #7E1832
triadic
#7E1865 #657E18 #18657E
tetradic
#7E1865 #7E6418 #187E31 #18327E
square
#7E1865 #7E6418 #187E31 #18327E
split-complementary
#7E1865 #327E18 #187E64
monochromatic
#1A0515 #4B0E3C #7E1865 #B1228E #D937B1

Accessibility & contrast

On white

9.52
#7E1865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1865
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1865#FFFFFF#000000##FFFFFF
##7E18651.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B67
Deuteranopia (green-blind)
#424B63
Tritanopia (blue-blind)
#861C3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1865;
/* rgb */ color: rgb(126, 24, 101);
/* oklch */ color: oklch(41.3% 0.158 340.2);
Tailwind
colors: {
  custom: {
    50: '#a76291',
    500: '#7e1865',
    950: '#000000',
  },
}
SCSS
$custom: #7e1865;
$custom-light: #a76291;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1865",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 314.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.15772,
    "h": 340.2
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#7E1865
secondary
#3FB25C
accent
#EB683D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1865

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

Preview Lab → · Contrast checker → · Palette generator →

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