#7A2131#7A2131

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

Color values

HEX#7A2131
RGBrgb(122, 33, 49)
HSLhsl(349, 57%, 30%)
HSVhsv(349, 73%, 48%)
CMYKcmyk(0%, 73%, 59.8%, 52.2%)
CIE-LABlab(27.98, 39.40, 12.37)
CIE-LCHlch(27.98, 41.29, 17.43°)
OKLaboklab(39.45% 0.1185 0.0307)
OKLCHoklch(39.45% 0.122 14.5)
XYZxyz(9.1251, 5.4483, 3.4763)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2131 #217A6A
analogous
#7A215E #7A2131 #7A3D21
triadic
#7A2131 #317A21 #21317A
tetradic
#7A2131 #5E7A21 #217A6A #3D217A
square
#7A2131 #5E7A21 #217A6A #3D217A
split-complementary
#7A2131 #217A3D #215E7A
monochromatic
#1A070A #4A141E #7A2131 #AA2E44 #CD4860

Accessibility & contrast

On white

10.05
#7A2131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2131
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2131#FFFFFF#000000##FFFFFF
##7A21311.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383631
Deuteranopia (green-blind)
#4F492F
Tritanopia (blue-blind)
#860B28
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2131;
/* rgb */ color: rgb(122, 33, 49);
/* oklch */ color: oklch(39.5% 0.122 14.5);
Tailwind
colors: {
  custom: {
    50: '#a66368',
    500: '#7a2131',
    950: '#000000',
  },
}
SCSS
$custom: #7a2131;
$custom-light: #a66368;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2131",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 349.213,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39451,
    "c": 0.12237,
    "h": 14.5
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#7A2131
secondary
#4AAD9B
accent
#E1C547
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7A2131

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

Preview Lab → · Contrast checker → · Palette generator →

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