#7E215D#7E215D

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

Color values

HEX#7E215D
RGBrgb(126, 33, 93)
HSLhsl(321, 58%, 31%)
HSVhsv(321, 74%, 49%)
CMYKcmyk(0%, 73.8%, 26.2%, 50.6%)
CIE-LABlab(30.19, 45.47, -13.47)
CIE-LCHlch(30.19, 47.42, 343.50°)
OKLaboklab(41.7% 0.1376 -0.0358)
OKLCHoklch(41.7% 0.142 345.4)
XYZxyz(11.1243, 6.3148, 10.9868)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E215D #217E42
analogous
#70217E #7E215D #7E212E
triadic
#7E215D #5D7E21 #215D7E
tetradic
#7E215D #7E7021 #217E42 #212E7E
square
#7E215D #7E7021 #217E42 #212E7E
split-complementary
#7E215D #2E7E21 #217E70
monochromatic
#1D0815 #4E1439 #7E215D #AE2E81 #D04AA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E215D#FFFFFF#000000##FFFFFF
##7E215D1.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)
#2C3D5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#871F3C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e215d;
/* rgb */ color: rgb(126, 33, 93);
/* oklch */ color: oklch(41.7% 0.142 345.4);
Tailwind
colors: {
  custom: {
    50: '#a7658b',
    500: '#7e215d',
    950: '#000000',
  },
}
SCSS
$custom: #7e215d;
$custom-light: #a7658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e215d",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 321.29,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.14218,
    "h": 345.4
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#7E215D
secondary
#4AB16E
accent
#E27D46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E215D

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

Preview Lab → · Contrast checker → · Palette generator →

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