#7B242F#7B242F

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

Color values

HEX#7B242F
RGBrgb(123, 36, 47)
HSLhsl(352, 55%, 31%)
HSVhsv(352, 71%, 48%)
CMYKcmyk(0%, 70.7%, 61.8%, 51.8%)
CIE-LABlab(28.59, 38.32, 14.55)
CIE-LCHlch(28.59, 40.99, 20.80°)
OKLaboklab(39.93% 0.1145 0.0356)
OKLCHoklch(39.93% 0.12 17.3)
XYZxyz(9.3132, 5.6792, 3.2946)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B242F #247B70
analogous
#7B245A #7B242F #7B4424
triadic
#7B242F #2F7B24 #242F7B
tetradic
#7B242F #5A7B24 #247B70 #44247B
square
#7B242F #5A7B24 #247B70 #44247B
split-complementary
#7B242F #247B44 #245A7B
monochromatic
#1C080B #4C161D #7B242F #AA3241 #CB4E5E

Accessibility & contrast

On white

9.83
#7B242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B242F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B242F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B242F#FFFFFF#000000##FFFFFF
##7B242F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A382F
Deuteranopia (green-blind)
#514A2D
Tritanopia (blue-blind)
#871029
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b242f;
/* rgb */ color: rgb(123, 36, 47);
/* oklch */ color: oklch(39.9% 0.120 17.3);
Tailwind
colors: {
  custom: {
    50: '#a76567',
    500: '#7b242f',
    950: '#000000',
  },
}
SCSS
$custom: #7b242f;
$custom-light: #a76567;
$custom-dark: #000000;
JSON
{
  "hex": "#7b242f",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 352.414,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39929,
    "c": 0.11994,
    "h": 17.3
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#7B242F
secondary
#4DADA1
accent
#DECB4A
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7B242F

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

Preview Lab → · Contrast checker → · Palette generator →

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