#7B242D#7B242D

#7B242D is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.9% C 0.120 H 18.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7B242D
RGBrgb(123, 36, 45)
HSLhsl(354, 55%, 31%)
HSVhsv(354, 71%, 48%)
CMYKcmyk(0%, 70.7%, 63.4%, 51.8%)
CIE-LABlab(28.55, 38.17, 15.82)
CIE-LCHlch(28.55, 41.32, 22.51°)
OKLaboklab(39.89% 0.1137 0.0384)
OKLCHoklch(39.89% 0.12 18.7)
XYZxyz(9.2738, 5.6635, 3.0869)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B242D #247B72
analogous
#7B2458 #7B242D #7B4624
triadic
#7B242D #2D7B24 #242D7B
tetradic
#7B242D #587B24 #247B72 #46247B
square
#7B242D #587B24 #247B72 #46247B
split-complementary
#7B242D #247B46 #24587B
monochromatic
#1C080A #4C161C #7B242D #AA323E #CB4E5B

Accessibility & contrast

On white

9.85
#7B242D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B242D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B242D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B242D#FFFFFF#000000##FFFFFF
##7B242D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#870F28
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b242d;
/* rgb */ color: rgb(123, 36, 45);
/* oklch */ color: oklch(39.9% 0.120 18.7);
Tailwind
colors: {
  custom: {
    50: '#a76565',
    500: '#7b242d',
    950: '#000000',
  },
}
SCSS
$custom: #7b242d;
$custom-light: #a76565;
$custom-dark: #000000;
JSON
{
  "hex": "#7b242d",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 45
  },
  "hsl": {
    "h": 353.793,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.11999,
    "h": 18.7
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#7B242D
secondary
#4DADA3
accent
#DECF4A
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100605
muted
#7F7A7A

Preview Lab

Preview with #7B242D

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

Preview Lab → · Contrast checker → · Palette generator →

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