#7B252D#7B252D

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

Color values

HEX#7B252D
RGBrgb(123, 37, 45)
HSLhsl(354, 54%, 31%)
HSVhsv(354, 70%, 48%)
CMYKcmyk(0%, 69.9%, 63.4%, 51.8%)
CIE-LABlab(28.71, 37.73, 16.03)
CIE-LCHlch(28.71, 41.00, 23.02°)
OKLaboklab(40.01% 0.1123 0.0389)
OKLCHoklch(40.01% 0.119 19.1)
XYZxyz(9.3045, 5.7248, 3.0972)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B252D #257B73
analogous
#7B2558 #7B252D #7B4825
triadic
#7B252D #2D7B25 #252D7B
tetradic
#7B252D #587B25 #257B73 #48257B
square
#7B252D #587B25 #257B73 #48257B
split-complementary
#7B252D #257B48 #25587B
monochromatic
#1D090B #4C171C #7B252D #AA333E #CA505B

Accessibility & contrast

On white

9.79
#7B252D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B252D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B252D#FFFFFF#000000##FFFFFF
##7B252D1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#871129
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b252d;
/* rgb */ color: rgb(123, 37, 45);
/* oklch */ color: oklch(40.0% 0.119 19.1);
Tailwind
colors: {
  custom: {
    50: '#a76565',
    500: '#7b252d',
    950: '#000000',
  },
}
SCSS
$custom: #7b252d;
$custom-light: #a76565;
$custom-dark: #000000;
JSON
{
  "hex": "#7b252d",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 354.419,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40005,
    "c": 0.11883,
    "h": 19.1
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#7B252D
secondary
#4FADA4
accent
#DDD04B
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100605
muted
#7F7A7A

Preview Lab

Preview with #7B252D

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

Preview Lab → · Contrast checker → · Palette generator →

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