#7E214E#7E214E

#7E214E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.134 H 355.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7E214E
RGBrgb(126, 33, 78)
HSLhsl(331, 58%, 31%)
HSVhsv(331, 74%, 49%)
CMYKcmyk(0%, 73.8%, 38.1%, 50.6%)
CIE-LABlab(29.60, 43.54, -4.53)
CIE-LCHlch(29.60, 43.78, 354.06°)
OKLaboklab(41.07% 0.1335 -0.0114)
OKLCHoklch(41.07% 0.134 355.1)
XYZxyz(10.5239, 6.0746, 7.8246)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E214E #217E51
analogous
#7E217C #7E214E #7E2221
triadic
#7E214E #4E7E21 #214E7E
tetradic
#7E214E #7C7E21 #217E51 #22217E
square
#7E214E #7C7E21 #217E51 #22217E
split-complementary
#7E214E #217E22 #217C7E
monochromatic
#1D0812 #4E1430 #7E214E #AE2E6C #D04A8B

Accessibility & contrast

On white

9.48
#7E214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E214E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E214E#FFFFFF#000000##FFFFFF
##7E214E1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#881834
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e214e;
/* rgb */ color: rgb(126, 33, 78);
/* oklch */ color: oklch(41.1% 0.134 355.1);
Tailwind
colors: {
  custom: {
    50: '#a7657f',
    500: '#7e214e',
    950: '#000000',
  },
}
SCSS
$custom: #7e214e;
$custom-light: #a7657f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e214e",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 330.968,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.13396,
    "h": 355.1
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#7E214E
secondary
#4AB17F
accent
#E29646
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E214E

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

Preview Lab → · Contrast checker → · Palette generator →

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