#7A213D#7A213D

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

Color values

HEX#7A213D
RGBrgb(122, 33, 61)
HSLhsl(341, 57%, 30%)
HSVhsv(341, 73%, 48%)
CMYKcmyk(0%, 73%, 50%, 52.2%)
CIE-LABlab(28.28, 40.46, 4.77)
CIE-LCHlch(28.28, 40.74, 6.72°)
OKLaboklab(39.78% 0.1235 0.0126)
OKLCHoklch(39.78% 0.124 5.8)
XYZxyz(9.4130, 5.5634, 4.9921)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A213D #217A5E
analogous
#7A2169 #7A213D #7A3221
triadic
#7A213D #3D7A21 #213D7A
tetradic
#7A213D #697A21 #217A5E #32217A
square
#7A213D #697A21 #217A5E #32217A
split-complementary
#7A213D #217A32 #21697A
monochromatic
#1A070D #4A1425 #7A213D #AA2E55 #CD4872

Accessibility & contrast

On white

9.94
#7A213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A213D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A213D#FFFFFF#000000##FFFFFF
##7A213D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35383E
Deuteranopia (green-blind)
#4D493B
Tritanopia (blue-blind)
#85112C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a213d;
/* rgb */ color: rgb(122, 33, 61);
/* oklch */ color: oklch(39.8% 0.124 5.8);
Tailwind
colors: {
  custom: {
    50: '#a56472',
    500: '#7a213d',
    950: '#000000',
  },
}
SCSS
$custom: #7a213d;
$custom-light: #a56472;
$custom-dark: #000000;
JSON
{
  "hex": "#7a213d",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 341.124,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.1241,
    "h": 5.8
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7A213D
secondary
#4AAD8E
accent
#E1B047
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7A213D

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

Preview Lab → · Contrast checker → · Palette generator →

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