#7E214A#7E214A

#7E214A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.132 H 357.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E214A
RGBrgb(126, 33, 74)
HSLhsl(334, 58%, 31%)
HSVhsv(334, 74%, 49%)
CMYKcmyk(0%, 73.8%, 41.3%, 50.6%)
CIE-LABlab(29.46, 43.08, -2.09)
CIE-LCHlch(29.46, 43.13, 357.22°)
OKLaboklab(40.92% 0.1321 -0.005)
OKLCHoklch(40.92% 0.132 357.9)
XYZxyz(10.3848, 6.0190, 7.0922)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E214A #217E55
analogous
#7E2178 #7E214A #7E2621
triadic
#7E214A #4A7E21 #214A7E
tetradic
#7E214A #787E21 #217E55 #26217E
square
#7E214A #787E21 #217E55 #26217E
split-complementary
#7E214A #217E26 #21787E
monochromatic
#1D0811 #4E142E #7E214A #AE2E66 #D04A85

Accessibility & contrast

On white

9.53
#7E214A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E214A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E214A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E214A#FFFFFF#000000##FFFFFF
##7E214A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4B
Deuteranopia (green-blind)
#4D4C48
Tritanopia (blue-blind)
#891632
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e214a;
/* rgb */ color: rgb(126, 33, 74);
/* oklch */ color: oklch(40.9% 0.132 357.9);
Tailwind
colors: {
  custom: {
    50: '#a8657c',
    500: '#7e214a',
    950: '#000000',
  },
}
SCSS
$custom: #7e214a;
$custom-light: #a8657c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e214a",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 74
  },
  "hsl": {
    "h": 333.548,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.13222,
    "h": 357.9
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#7E214A
secondary
#4AB183
accent
#E29D46
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E214A

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

Preview Lab → · Contrast checker → · Palette generator →

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