#7A214D#7A214D

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

Color values

HEX#7A214D
RGBrgb(122, 33, 77)
HSLhsl(330, 57%, 30%)
HSVhsv(330, 73%, 48%)
CMYKcmyk(0%, 73%, 36.9%, 52.2%)
CIE-LABlab(28.80, 42.21, -5.13)
CIE-LCHlch(28.80, 42.52, 353.06°)
OKLaboklab(40.34% 0.1293 -0.013)
OKLCHoklch(40.34% 0.13 354.2)
XYZxyz(9.9100, 5.7623, 7.6101)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A214D #217A4E
analogous
#7A2179 #7A214D #7A2121
triadic
#7A214D #4D7A21 #214D7A
tetradic
#7A214D #797A21 #217A4E #21217A
square
#7A214D #797A21 #217A4E #21217A
split-complementary
#7A214D #217A21 #21797A
monochromatic
#1A0710 #4A142F #7A214D #AA2E6B #CD488A

Accessibility & contrast

On white

9.76
#7A214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A214D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A214D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A214D#FFFFFF#000000##FFFFFF
##7A214D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#841934
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a214d;
/* rgb */ color: rgb(122, 33, 77);
/* oklch */ color: oklch(40.3% 0.130 354.2);
Tailwind
colors: {
  custom: {
    50: '#a4647e',
    500: '#7a214d',
    950: '#000000',
  },
}
SCSS
$custom: #7a214d;
$custom-light: #a4647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a214d",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 330.337,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.12992,
    "h": 354.2
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#7A214D
secondary
#4AAD7C
accent
#E19547
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A214D

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

Preview Lab → · Contrast checker → · Palette generator →

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