#7E214D#7E214D

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

Color values

HEX#7E214D
RGBrgb(126, 33, 77)
HSLhsl(332, 58%, 31%)
HSVhsv(332, 74%, 49%)
CMYKcmyk(0%, 73.8%, 38.9%, 50.6%)
CIE-LABlab(29.56, 43.43, -3.92)
CIE-LCHlch(29.56, 43.60, 354.84°)
OKLaboklab(41.04% 0.1331 -0.0098)
OKLCHoklch(41.04% 0.134 355.8)
XYZxyz(10.4883, 6.0604, 7.6372)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E214D #217E52
analogous
#7E217B #7E214D #7E2321
triadic
#7E214D #4D7E21 #214D7E
tetradic
#7E214D #7B7E21 #217E52 #23217E
square
#7E214D #7B7E21 #217E52 #23217E
split-complementary
#7E214D #217E23 #217B7E
monochromatic
#1D0812 #4E142F #7E214D #AE2E6B #D04A89

Accessibility & contrast

On white

9.49
#7E214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E214D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E214D#FFFFFF#000000##FFFFFF
##7E214D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4E
Deuteranopia (green-blind)
#4C4C4B
Tritanopia (blue-blind)
#881734
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e214d;
/* rgb */ color: rgb(126, 33, 77);
/* oklch */ color: oklch(41.0% 0.134 355.8);
Tailwind
colors: {
  custom: {
    50: '#a7657e',
    500: '#7e214d',
    950: '#000000',
  },
}
SCSS
$custom: #7e214d;
$custom-light: #a7657e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e214d",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 331.613,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.1335,
    "h": 355.8
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#7E214D
secondary
#4AB180
accent
#E29846
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E214D

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

Preview Lab → · Contrast checker → · Palette generator →

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