#7A213E#7A213E

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

Color values

HEX#7A213E
RGBrgb(122, 33, 62)
HSLhsl(340, 57%, 30%)
HSVhsv(340, 73%, 48%)
CMYKcmyk(0%, 73%, 49.2%, 52.2%)
CIE-LABlab(28.31, 40.55, 4.14)
CIE-LCHlch(28.31, 40.76, 5.83°)
OKLaboklab(39.81% 0.1239 0.011)
OKLCHoklch(39.81% 0.124 5.1)
XYZxyz(9.4402, 5.5743, 5.1353)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A213E #217A5D
analogous
#7A216A #7A213E #7A3021
triadic
#7A213E #3E7A21 #213E7A
tetradic
#7A213E #6A7A21 #217A5D #30217A
square
#7A213E #6A7A21 #217A5D #30217A
split-complementary
#7A213E #217A30 #216A7A
monochromatic
#1A070D #4A1426 #7A213E #AA2E56 #CD4873

Accessibility & contrast

On white

9.93
#7A213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A213E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A213E#FFFFFF#000000##FFFFFF
##7A213E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35383F
Deuteranopia (green-blind)
#4D493C
Tritanopia (blue-blind)
#85122D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a213e;
/* rgb */ color: rgb(122, 33, 62);
/* oklch */ color: oklch(39.8% 0.124 5.1);
Tailwind
colors: {
  custom: {
    50: '#a56473',
    500: '#7a213e',
    950: '#000000',
  },
}
SCSS
$custom: #7a213e;
$custom-light: #a56473;
$custom-dark: #000000;
JSON
{
  "hex": "#7a213e",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 340.449,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.12435,
    "h": 5.1
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#7A213E
secondary
#4AAD8D
accent
#E1AF47
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A213E

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

Preview Lab → · Contrast checker → · Palette generator →

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