#7E214F#7E214F

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

Color values

HEX#7E214F
RGBrgb(126, 33, 79)
HSLhsl(330, 58%, 31%)
HSVhsv(330, 74%, 49%)
CMYKcmyk(0%, 73.8%, 37.3%, 50.6%)
CIE-LABlab(29.64, 43.66, -5.14)
CIE-LCHlch(29.64, 43.96, 353.29°)
OKLaboklab(41.11% 0.1338 -0.013)
OKLCHoklch(41.11% 0.134 354.4)
XYZxyz(10.5600, 6.0891, 8.0148)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E214F #217E50
analogous
#7E217D #7E214F #7E2121
triadic
#7E214F #4F7E21 #214F7E
tetradic
#7E214F #7D7E21 #217E50 #21217E
square
#7E214F #7D7E21 #217E50 #21217E
split-complementary
#7E214F #217E21 #217D7E
monochromatic
#1D0812 #4E1431 #7E214F #AE2E6D #D04A8C

Accessibility & contrast

On white

9.47
#7E214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E214F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E214F#FFFFFF#000000##FFFFFF
##7E214F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#4C4C4D
Tritanopia (blue-blind)
#881835
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e214f;
/* rgb */ color: rgb(126, 33, 79);
/* oklch */ color: oklch(41.1% 0.134 354.4);
Tailwind
colors: {
  custom: {
    50: '#a76580',
    500: '#7e214f',
    950: '#000000',
  },
}
SCSS
$custom: #7e214f;
$custom-light: #a76580;
$custom-dark: #000000;
JSON
{
  "hex": "#7e214f",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 330.323,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.13442,
    "h": 354.4
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#7E214F
secondary
#4AB17E
accent
#E29546
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E214F

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

Preview Lab → · Contrast checker → · Palette generator →

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