#7A252A#7A252A

#7A252A is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.8% C 0.118 H 21.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7A252A
RGBrgb(122, 37, 42)
HSLhsl(356, 53%, 31%)
HSVhsv(356, 70%, 48%)
CMYKcmyk(0%, 69.7%, 65.6%, 52.2%)
CIE-LABlab(28.46, 37.17, 17.64)
CIE-LCHlch(28.46, 41.14, 25.39°)
OKLaboklab(39.76% 0.11 0.0423)
OKLCHoklch(39.76% 0.118 21)
XYZxyz(9.1064, 5.6292, 2.7971)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A252A #257A75
analogous
#7A2554 #7A252A #7A4A25
triadic
#7A252A #2A7A25 #252A7A
tetradic
#7A252A #547A25 #257A75 #4A257A
square
#7A252A #547A25 #257A75 #4A257A
split-complementary
#7A252A #257A4A #25547A
monochromatic
#1C090A #4B171A #7A252A #A9333A #CA5057

Accessibility & contrast

On white

9.88
#7A252A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A252A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A252A#FFFFFF#000000##FFFFFF
##7A252A1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382A
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#861027
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a252a;
/* rgb */ color: rgb(122, 37, 42);
/* oklch */ color: oklch(39.8% 0.118 21.0);
Tailwind
colors: {
  custom: {
    50: '#a66563',
    500: '#7a252a',
    950: '#000000',
  },
}
SCSS
$custom: #7a252a;
$custom-light: #a66563;
$custom-dark: #000000;
JSON
{
  "hex": "#7a252a",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 356.471,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.11785,
    "h": 21
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#7A252A
secondary
#4EACA7
accent
#DDD44B
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #7A252A

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

Preview Lab → · Contrast checker → · Palette generator →

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