#7E215F#7E215F

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

Color values

HEX#7E215F
RGBrgb(126, 33, 95)
HSLhsl(320, 58%, 31%)
HSVhsv(320, 74%, 49%)
CMYKcmyk(0%, 73.8%, 24.6%, 50.6%)
CIE-LABlab(30.28, 45.75, -14.63)
CIE-LCHlch(30.28, 48.03, 342.26°)
OKLaboklab(41.79% 0.1381 -0.039)
OKLCHoklch(41.79% 0.143 344.2)
XYZxyz(11.2140, 6.3507, 11.4595)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E215F #217E40
analogous
#6E217E #7E215F #7E2130
triadic
#7E215F #5F7E21 #215F7E
tetradic
#7E215F #7E6E21 #217E40 #21307E
square
#7E215F #7E6E21 #217E40 #21307E
split-complementary
#7E215F #307E21 #217E6E
monochromatic
#1D0816 #4E143A #7E215F #AE2E84 #D04AA3

Accessibility & contrast

On white

9.25
#7E215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E215F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E215F#FFFFFF#000000##FFFFFF
##7E215F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e215f;
/* rgb */ color: rgb(126, 33, 95);
/* oklch */ color: oklch(41.8% 0.143 344.2);
Tailwind
colors: {
  custom: {
    50: '#a7658c',
    500: '#7e215f',
    950: '#000000',
  },
}
SCSS
$custom: #7e215f;
$custom-light: #a7658c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e215f",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 320,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.14346,
    "h": 344.2
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#7E215F
secondary
#4AB16C
accent
#E27A46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E215F

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

Preview Lab → · Contrast checker → · Palette generator →

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