#7A213B#7A213B

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

Color values

HEX#7A213B
RGBrgb(122, 33, 59)
HSLhsl(342, 57%, 30%)
HSVhsv(342, 73%, 48%)
CMYKcmyk(0%, 73%, 51.6%, 52.2%)
CIE-LABlab(28.23, 40.26, 6.03)
CIE-LCHlch(28.23, 40.71, 8.51°)
OKLaboklab(39.72% 0.1227 0.0157)
OKLCHoklch(39.72% 0.124 7.3)
XYZxyz(9.3601, 5.5423, 4.7137)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A213B #217A60
analogous
#7A2167 #7A213B #7A3421
triadic
#7A213B #3B7A21 #213B7A
tetradic
#7A213B #677A21 #217A60 #34217A
square
#7A213B #677A21 #217A60 #34217A
split-complementary
#7A213B #217A34 #21677A
monochromatic
#1A070C #4A1424 #7A213B #AA2E52 #CD486F

Accessibility & contrast

On white

9.96
#7A213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A213B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A213B#FFFFFF#000000##FFFFFF
##7A213B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36373C
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#85102C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a213b;
/* rgb */ color: rgb(122, 33, 59);
/* oklch */ color: oklch(39.7% 0.124 7.3);
Tailwind
colors: {
  custom: {
    50: '#a56370',
    500: '#7a213b',
    950: '#000000',
  },
}
SCSS
$custom: #7a213b;
$custom-light: #a56370;
$custom-dark: #000000;
JSON
{
  "hex": "#7a213b",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 342.472,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.12366,
    "h": 7.3
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#7A213B
secondary
#4AAD90
accent
#E1B447
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7A213B

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

Preview Lab → · Contrast checker → · Palette generator →

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