#7A213C#7A213C

#7A213C is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.7% C 0.124 H 6.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7A213C
RGBrgb(122, 33, 60)
HSLhsl(342, 57%, 30%)
HSVhsv(342, 73%, 48%)
CMYKcmyk(0%, 73%, 50.8%, 52.2%)
CIE-LABlab(28.25, 40.36, 5.40)
CIE-LCHlch(28.25, 40.72, 7.62°)
OKLaboklab(39.75% 0.1231 0.0141)
OKLCHoklch(39.75% 0.124 6.5)
XYZxyz(9.3863, 5.5528, 4.8516)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A213C #217A5F
analogous
#7A2168 #7A213C #7A3321
triadic
#7A213C #3C7A21 #213C7A
tetradic
#7A213C #687A21 #217A5F #33217A
square
#7A213C #687A21 #217A5F #33217A
split-complementary
#7A213C #217A33 #21687A
monochromatic
#1A070D #4A1424 #7A213C #AA2E54 #CD4870

Accessibility & contrast

On white

9.95
#7A213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A213C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A213C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A213C#FFFFFF#000000##FFFFFF
##7A213C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36373D
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#85112C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a213c;
/* rgb */ color: rgb(122, 33, 60);
/* oklch */ color: oklch(39.7% 0.124 6.5);
Tailwind
colors: {
  custom: {
    50: '#a56471',
    500: '#7a213c',
    950: '#000000',
  },
}
SCSS
$custom: #7a213c;
$custom-light: #a56471;
$custom-dark: #000000;
JSON
{
  "hex": "#7a213c",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 341.798,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.12387,
    "h": 6.5
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#7A213C
secondary
#4AAD8F
accent
#E1B247
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7A213C

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

Preview Lab → · Contrast checker → · Palette generator →

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