#7A242F#7A242F

#7A242F is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.7% C 0.119 H 17.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7A242F
RGBrgb(122, 36, 47)
HSLhsl(352, 54%, 31%)
HSVhsv(352, 70%, 48%)
CMYKcmyk(0%, 70.5%, 61.5%, 52.2%)
CIE-LABlab(28.40, 37.97, 14.26)
CIE-LCHlch(28.40, 40.56, 20.59°)
OKLaboklab(39.75% 0.1136 0.035)
OKLCHoklch(39.75% 0.119 17.1)
XYZxyz(9.1709, 5.6058, 3.2879)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A242F #247A6F
analogous
#7A245A #7A242F #7A4424
triadic
#7A242F #2F7A24 #242F7A
tetradic
#7A242F #5A7A24 #247A6F #44247A
square
#7A242F #5A7A24 #247A6F #44247A
split-complementary
#7A242F #247A44 #245A7A
monochromatic
#1B080B #4B161D #7A242F #A93241 #CB4E5E

Accessibility & contrast

On white

9.90
#7A242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A242F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A242F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A242F#FFFFFF#000000##FFFFFF
##7A242F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a242f;
/* rgb */ color: rgb(122, 36, 47);
/* oklch */ color: oklch(39.7% 0.119 17.1);
Tailwind
colors: {
  custom: {
    50: '#a66567',
    500: '#7a242f',
    950: '#000000',
  },
}
SCSS
$custom: #7a242f;
$custom-light: #a66567;
$custom-dark: #000000;
JSON
{
  "hex": "#7a242f",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 352.326,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.11881,
    "h": 17.1
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A242F

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

Preview Lab → · Contrast checker → · Palette generator →

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