#7E2160#7E2160

#7E2160 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 343.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7E2160
RGBrgb(126, 33, 96)
HSLhsl(319, 58%, 31%)
HSVhsv(319, 74%, 49%)
CMYKcmyk(0%, 73.8%, 23.8%, 50.6%)
CIE-LABlab(30.32, 45.89, -15.21)
CIE-LCHlch(30.32, 48.35, 341.66°)
OKLaboklab(41.84% 0.1383 -0.0406)
OKLCHoklch(41.84% 0.144 343.6)
XYZxyz(11.2598, 6.3690, 11.7004)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2160 #217E3F
analogous
#6D217E #7E2160 #7E2131
triadic
#7E2160 #607E21 #21607E
tetradic
#7E2160 #7E6D21 #217E3F #21317E
square
#7E2160 #7E6D21 #217E3F #21317E
split-complementary
#7E2160 #317E21 #217E6D
monochromatic
#1D0816 #4E143B #7E2160 #AE2E85 #D04AA4

Accessibility & contrast

On white

9.24
#7E2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2160
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2160#FFFFFF#000000##FFFFFF
##7E21601.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2160;
/* rgb */ color: rgb(126, 33, 96);
/* oklch */ color: oklch(41.8% 0.144 343.6);
Tailwind
colors: {
  custom: {
    50: '#a7658d',
    500: '#7e2160',
    950: '#000000',
  },
}
SCSS
$custom: #7e2160;
$custom-light: #a7658d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2160",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 319.355,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.14411,
    "h": 343.6
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#7E2160
secondary
#4AB16B
accent
#E27846
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2160

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

Preview Lab → · Contrast checker → · Palette generator →

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