#7A212F#7A212F

#7A212F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.122 H 15.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7A212F
RGBrgb(122, 33, 47)
HSLhsl(351, 57%, 30%)
HSVhsv(351, 73%, 48%)
CMYKcmyk(0%, 73%, 61.5%, 52.2%)
CIE-LABlab(27.93, 39.24, 13.65)
CIE-LCHlch(27.93, 41.55, 19.17°)
OKLaboklab(39.4% 0.1176 0.0335)
OKLCHoklch(39.4% 0.122 15.9)
XYZxyz(9.0839, 5.4318, 3.2589)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A212F #217A6C
analogous
#7A215B #7A212F #7A4021
triadic
#7A212F #2F7A21 #212F7A
tetradic
#7A212F #5B7A21 #217A6C #40217A
square
#7A212F #5B7A21 #217A6C #40217A
split-complementary
#7A212F #217A40 #215B7A
monochromatic
#1A070A #4A141C #7A212F #AA2E42 #CD485D

Accessibility & contrast

On white

10.07
#7A212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A212F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A212F#FFFFFF#000000##FFFFFF
##7A212F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#860A27
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a212f;
/* rgb */ color: rgb(122, 33, 47);
/* oklch */ color: oklch(39.4% 0.122 15.9);
Tailwind
colors: {
  custom: {
    50: '#a66367',
    500: '#7a212f',
    950: '#000000',
  },
}
SCSS
$custom: #7a212f;
$custom-light: #a66367;
$custom-dark: #000000;
JSON
{
  "hex": "#7a212f",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 350.562,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.1223,
    "h": 15.9
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#7A212F
secondary
#4AAD9D
accent
#E1C947
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7A212F

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

Preview Lab → · Contrast checker → · Palette generator →

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