#7B2A15#7B2A15

#7B2A15 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.118 H 35.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7B2A15
RGBrgb(123, 42, 21)
HSLhsl(12, 71%, 28%)
HSVhsv(12, 83%, 48%)
CMYKcmyk(0%, 65.9%, 82.9%, 51.8%)
CIE-LABlab(29.22, 34.12, 31.42)
CIE-LCHlch(29.22, 46.38, 42.65°)
OKLaboklab(40.27% 0.0959 0.068)
OKLCHoklch(40.27% 0.118 35.4)
XYZxyz(9.1327, 5.9223, 1.3716)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A15 #15667B
analogous
#7B1533 #7B2A15 #7B5D15
triadic
#7B2A15 #157B2A #2A157B
tetradic
#7B2A15 #337B15 #15667B #5D157B
square
#7B2A15 #337B15 #15667B #5D157B
split-complementary
#7B2A15 #157B5D #15337B
monochromatic
#1A0904 #47180C #7B2A15 #AF3C1E #DB522F

Accessibility & contrast

On white

9.61
#7B2A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B2A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2A15
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2A15#FFFFFF#000000##FFFFFF
##7B2A151.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A12
Deuteranopia (green-blind)
#554C12
Tritanopia (blue-blind)
#881426
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2a15;
/* rgb */ color: rgb(123, 42, 21);
/* oklch */ color: oklch(40.3% 0.118 35.4);
Tailwind
colors: {
  custom: {
    50: '#a86754',
    500: '#7b2a15',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a15;
$custom-light: #a86754;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a15",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 21
  },
  "hsl": {
    "h": 12.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40274,
    "c": 0.11754,
    "h": 35.4
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#7B2A15
secondary
#3B98B0
accent
#C9EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2A15

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

Preview Lab → · Contrast checker → · Palette generator →

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