#7B252B#7B252B

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

Color values

HEX#7B252B
RGBrgb(123, 37, 43)
HSLhsl(356, 54%, 31%)
HSVhsv(356, 70%, 48%)
CMYKcmyk(0%, 69.9%, 65%, 51.8%)
CIE-LABlab(28.67, 37.59, 17.29)
CIE-LCHlch(28.67, 41.38, 24.70°)
OKLaboklab(39.96% 0.1114 0.0416)
OKLCHoklch(39.96% 0.119 20.5)
XYZxyz(9.2669, 5.7098, 2.8992)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B252B #257B75
analogous
#7B2556 #7B252B #7B4A25
triadic
#7B252B #2B7B25 #252B7B
tetradic
#7B252B #567B25 #257B75 #4A257B
square
#7B252B #567B25 #257B75 #4A257B
split-complementary
#7B252B #257B4A #25567B
monochromatic
#1D090A #4C171B #7B252B #AA333B #CA5059

Accessibility & contrast

On white

9.80
#7B252B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B252B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B252B#FFFFFF#000000##FFFFFF
##7B252B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C382B
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#871028
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b252b;
/* rgb */ color: rgb(123, 37, 43);
/* oklch */ color: oklch(40.0% 0.119 20.5);
Tailwind
colors: {
  custom: {
    50: '#a76564',
    500: '#7b252b',
    950: '#000000',
  },
}
SCSS
$custom: #7b252b;
$custom-light: #a76564;
$custom-dark: #000000;
JSON
{
  "hex": "#7b252b",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 43
  },
  "hsl": {
    "h": 355.814,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.11893,
    "h": 20.5
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#7B252B
secondary
#4FADA7
accent
#DDD34B
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7B252B

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

Preview Lab → · Contrast checker → · Palette generator →

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