#7E215A#7E215A

#7E215A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.140 H 347.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7E215A
RGBrgb(126, 33, 90)
HSLhsl(323, 58%, 31%)
HSVhsv(323, 74%, 49%)
CMYKcmyk(0%, 73.8%, 28.6%, 50.6%)
CIE-LABlab(30.07, 45.06, -11.71)
CIE-LCHlch(30.07, 46.55, 345.44°)
OKLaboklab(41.57% 0.1369 -0.0309)
OKLCHoklch(41.57% 0.14 347.3)
XYZxyz(10.9940, 6.2627, 10.3007)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E215A #217E45
analogous
#73217E #7E215A #7E212B
triadic
#7E215A #5A7E21 #215A7E
tetradic
#7E215A #7E7321 #217E45 #212B7E
square
#7E215A #7E7321 #217E45 #212B7E
split-complementary
#7E215A #2B7E21 #217E73
monochromatic
#1D0815 #4E1437 #7E215A #AE2E7D #D04A9C

Accessibility & contrast

On white

9.32
#7E215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E215A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E215A#FFFFFF#000000##FFFFFF
##7E215A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#494D58
Tritanopia (blue-blind)
#871E3A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e215a;
/* rgb */ color: rgb(126, 33, 90);
/* oklch */ color: oklch(41.6% 0.140 347.3);
Tailwind
colors: {
  custom: {
    50: '#a76588',
    500: '#7e215a',
    950: '#000000',
  },
}
SCSS
$custom: #7e215a;
$custom-light: #a76588;
$custom-dark: #000000;
JSON
{
  "hex": "#7e215a",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 323.226,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.14034,
    "h": 347.3
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#7E215A
secondary
#4AB172
accent
#E28246
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E215A

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

Preview Lab → · Contrast checker → · Palette generator →

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