#7E2060#7E2060

#7E2060 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.145 H 343.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7E2060
RGBrgb(126, 32, 96)
HSLhsl(319, 59%, 31%)
HSVhsv(319, 75%, 49%)
CMYKcmyk(0%, 74.6%, 23.8%, 50.6%)
CIE-LABlab(30.19, 46.26, -15.42)
CIE-LCHlch(30.19, 48.76, 341.57°)
OKLaboklab(41.74% 0.1394 -0.0412)
OKLCHoklch(41.74% 0.145 343.5)
XYZxyz(11.2324, 6.3143, 11.6913)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2060 #207E3E
analogous
#6D207E #7E2060 #7E2031
triadic
#7E2060 #607E20 #20607E
tetradic
#7E2060 #7E6D20 #207E3E #20317E
square
#7E2060 #7E6D20 #207E3E #20317E
split-complementary
#7E2060 #317E20 #207E6D
monochromatic
#1C0716 #4D143B #7E2060 #AF2C85 #D048A5

Accessibility & contrast

On white

9.28
#7E2060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E2060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2060
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2060#FFFFFF#000000##FFFFFF
##7E20601.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D62
Deuteranopia (green-blind)
#474D5E
Tritanopia (blue-blind)
#86203D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2060;
/* rgb */ color: rgb(126, 32, 96);
/* oklch */ color: oklch(41.7% 0.145 343.5);
Tailwind
colors: {
  custom: {
    50: '#a7658d',
    500: '#7e2060',
    950: '#000000',
  },
}
SCSS
$custom: #7e2060;
$custom-light: #a7658d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2060",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 96
  },
  "hsl": {
    "h": 319.149,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.14537,
    "h": 343.5
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#7E2060
secondary
#49B16A
accent
#E37745
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2060

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

Preview Lab → · Contrast checker → · Palette generator →

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