#7B252A#7B252A

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

Color values

HEX#7B252A
RGBrgb(123, 37, 42)
HSLhsl(357, 54%, 31%)
HSVhsv(357, 70%, 48%)
CMYKcmyk(0%, 69.9%, 65.9%, 51.8%)
CIE-LABlab(28.65, 37.52, 17.92)
CIE-LCHlch(28.65, 41.58, 25.53°)
OKLaboklab(39.94% 0.111 0.0429)
OKLCHoklch(39.94% 0.119 21.1)
XYZxyz(9.2488, 5.7026, 2.8037)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B252A #257B76
analogous
#7B2555 #7B252A #7B4B25
triadic
#7B252A #2A7B25 #252A7B
tetradic
#7B252A #557B25 #257B76 #4B257B
square
#7B252A #557B25 #257B76 #4B257B
split-complementary
#7B252A #257B4B #25557B
monochromatic
#1D090A #4C171A #7B252A #AA333A #CA5057

Accessibility & contrast

On white

9.81
#7B252A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B252A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B252A#FFFFFF#000000##FFFFFF
##7B252A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C382A
Deuteranopia (green-blind)
#524A28
Tritanopia (blue-blind)
#871028
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b252a;
/* rgb */ color: rgb(123, 37, 42);
/* oklch */ color: oklch(39.9% 0.119 21.1);
Tailwind
colors: {
  custom: {
    50: '#a76563',
    500: '#7b252a',
    950: '#000000',
  },
}
SCSS
$custom: #7b252a;
$custom-light: #a76563;
$custom-dark: #000000;
JSON
{
  "hex": "#7b252a",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 356.512,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.11901,
    "h": 21.1
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#7B252A
secondary
#4FADA8
accent
#DDD54B
background
#FAF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7B252A

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

Preview Lab → · Contrast checker → · Palette generator →

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