#7E2065#7E2065

#7E2065 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.149 H 340.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7E2065
RGBrgb(126, 32, 101)
HSLhsl(316, 59%, 31%)
HSVhsv(316, 75%, 49%)
CMYKcmyk(0%, 74.6%, 19.8%, 50.6%)
CIE-LABlab(30.42, 46.99, -18.30)
CIE-LCHlch(30.42, 50.42, 338.72°)
OKLaboklab(41.99% 0.1403 -0.0493)
OKLCHoklch(41.99% 0.149 340.6)
XYZxyz(11.4700, 6.4094, 12.9425)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2065 #207E39
analogous
#68207E #7E2065 #7E2036
triadic
#7E2065 #657E20 #20657E
tetradic
#7E2065 #7E6820 #207E39 #20367E
square
#7E2065 #7E6820 #207E39 #20367E
split-complementary
#7E2065 #367E20 #207E68
monochromatic
#1C0717 #4D143E #7E2065 #AF2C8C #D048AC

Accessibility & contrast

On white

9.20
#7E2065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2065
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2065#FFFFFF#000000##FFFFFF
##7E20651.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E67
Deuteranopia (green-blind)
#454D63
Tritanopia (blue-blind)
#862240
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2065;
/* rgb */ color: rgb(126, 32, 101);
/* oklch */ color: oklch(42.0% 0.149 340.6);
Tailwind
colors: {
  custom: {
    50: '#a76591',
    500: '#7e2065',
    950: '#000000',
  },
}
SCSS
$custom: #7e2065;
$custom-light: #a76591;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2065",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 315.957,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.14874,
    "h": 340.6
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#7E2065
secondary
#49B165
accent
#E36F45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2065

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

Preview Lab → · Contrast checker → · Palette generator →

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