#7A214E#7A214E

#7A214E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.130 H 353.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7A214E
RGBrgb(122, 33, 78)
HSLhsl(330, 57%, 30%)
HSVhsv(330, 73%, 48%)
CMYKcmyk(0%, 73%, 36.1%, 52.2%)
CIE-LABlab(28.84, 42.33, -5.74)
CIE-LCHlch(28.84, 42.72, 352.28°)
OKLaboklab(40.37% 0.1296 -0.0147)
OKLCHoklch(40.37% 0.13 353.5)
XYZxyz(9.9456, 5.7765, 7.7975)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A214E #217A4D
analogous
#79217A #7A214E #7A2121
triadic
#7A214E #4E7A21 #214E7A
tetradic
#7A214E #7A7921 #217A4D #21217A
square
#7A214E #7A7921 #217A4D #21217A
split-complementary
#7A214E #217A21 #217A79
monochromatic
#1A0710 #4A142F #7A214E #AA2E6D #CD488B

Accessibility & contrast

On white

9.74
#7A214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A214E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A214E#FFFFFF#000000##FFFFFF
##7A214E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A4F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#841A34
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a214e;
/* rgb */ color: rgb(122, 33, 78);
/* oklch */ color: oklch(40.4% 0.130 353.5);
Tailwind
colors: {
  custom: {
    50: '#a4647f',
    500: '#7a214e',
    950: '#000000',
  },
}
SCSS
$custom: #7a214e;
$custom-light: #a4647f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a214e",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 329.663,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40374,
    "c": 0.1304,
    "h": 353.5
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#7A214E
secondary
#4AAD7B
accent
#E19347
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A214E

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

Preview Lab → · Contrast checker → · Palette generator →

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