#7B222F#7B222F

#7B222F is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.122 H 16.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7B222F
RGBrgb(123, 34, 47)
HSLhsl(351, 57%, 31%)
HSVhsv(351, 72%, 48%)
CMYKcmyk(0%, 72.4%, 61.8%, 51.8%)
CIE-LABlab(28.28, 39.17, 14.14)
CIE-LCHlch(28.28, 41.65, 19.85°)
OKLaboklab(39.7% 0.1173 0.0347)
OKLCHoklch(39.7% 0.122 16.5)
XYZxyz(9.2544, 5.5615, 3.2749)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B222F #227B6E
analogous
#7B225B #7B222F #7B4122
triadic
#7B222F #2F7B22 #222F7B
tetradic
#7B222F #5B7B22 #227B6E #41227B
square
#7B222F #5B7B22 #227B6E #41227B
split-complementary
#7B222F #227B41 #225B7B
monochromatic
#1B070A #4B151D #7B222F #AB2F41 #CD4A5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B222F#FFFFFF#000000##FFFFFF
##7B222F1.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)
#39372F
Deuteranopia (green-blind)
#504A2D
Tritanopia (blue-blind)
#870C27
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b222f;
/* rgb */ color: rgb(123, 34, 47);
/* oklch */ color: oklch(39.7% 0.122 16.5);
Tailwind
colors: {
  custom: {
    50: '#a76467',
    500: '#7b222f',
    950: '#000000',
  },
}
SCSS
$custom: #7b222f;
$custom-light: #a76467;
$custom-dark: #000000;
JSON
{
  "hex": "#7b222f",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 47
  },
  "hsl": {
    "h": 351.236,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.12227,
    "h": 16.5
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#7B222F
secondary
#4BAE9F
accent
#E0CA48
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7B222F

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

Preview Lab → · Contrast checker → · Palette generator →

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