#7E215E#7E215E

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

Color values

HEX#7E215E
RGBrgb(126, 33, 94)
HSLhsl(321, 58%, 31%)
HSVhsv(321, 74%, 49%)
CMYKcmyk(0%, 73.8%, 25.4%, 50.6%)
CIE-LABlab(30.24, 45.61, -14.05)
CIE-LCHlch(30.24, 47.72, 342.88°)
OKLaboklab(41.75% 0.1378 -0.0374)
OKLCHoklch(41.75% 0.143 344.8)
XYZxyz(11.1689, 6.3327, 11.2216)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E215E #217E41
analogous
#6F217E #7E215E #7E212F
triadic
#7E215E #5E7E21 #215E7E
tetradic
#7E215E #7E6F21 #217E41 #212F7E
square
#7E215E #7E6F21 #217E41 #212F7E
split-complementary
#7E215E #2F7E21 #217E6F
monochromatic
#1D0816 #4E143A #7E215E #AE2E82 #D04AA2

Accessibility & contrast

On white

9.27
#7E215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E215E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E215E#FFFFFF#000000##FFFFFF
##7E215E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#87203C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e215e;
/* rgb */ color: rgb(126, 33, 94);
/* oklch */ color: oklch(41.7% 0.143 344.8);
Tailwind
colors: {
  custom: {
    50: '#a7658b',
    500: '#7e215e',
    950: '#000000',
  },
}
SCSS
$custom: #7e215e;
$custom-light: #a7658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e215e",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 320.645,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.14281,
    "h": 344.8
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#7E215E
secondary
#4AB16D
accent
#E27C46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E215E

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

Preview Lab → · Contrast checker → · Palette generator →

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