#7E215B#7E215B

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

Color values

HEX#7E215B
RGBrgb(126, 33, 91)
HSLhsl(323, 58%, 31%)
HSVhsv(323, 74%, 49%)
CMYKcmyk(0%, 73.8%, 27.8%, 50.6%)
CIE-LABlab(30.11, 45.19, -12.30)
CIE-LCHlch(30.11, 46.84, 344.78°)
OKLaboklab(41.61% 0.1371 -0.0325)
OKLCHoklch(41.61% 0.141 346.7)
XYZxyz(11.0369, 6.2799, 10.5264)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E215B #217E44
analogous
#72217E #7E215B #7E212C
triadic
#7E215B #5B7E21 #215B7E
tetradic
#7E215B #7E7221 #217E44 #212C7E
square
#7E215B #7E7221 #217E44 #212C7E
split-complementary
#7E215B #2C7E21 #217E72
monochromatic
#1D0815 #4E1438 #7E215B #AE2E7E #D04A9D

Accessibility & contrast

On white

9.31
#7E215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E215B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E215B#FFFFFF#000000##FFFFFF
##7E215B1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5D
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#871E3B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e215b;
/* rgb */ color: rgb(126, 33, 91);
/* oklch */ color: oklch(41.6% 0.141 346.7);
Tailwind
colors: {
  custom: {
    50: '#a76589',
    500: '#7e215b',
    950: '#000000',
  },
}
SCSS
$custom: #7e215b;
$custom-light: #a76589;
$custom-dark: #000000;
JSON
{
  "hex": "#7e215b",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 322.581,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41611,
    "c": 0.14094,
    "h": 346.7
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#7E215B
secondary
#4AB171
accent
#E28146
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E215B

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

Preview Lab → · Contrast checker → · Palette generator →

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