#7B252F#7B252F

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

Color values

HEX#7B252F
RGBrgb(123, 37, 47)
HSLhsl(353, 54%, 31%)
HSVhsv(353, 70%, 48%)
CMYKcmyk(0%, 69.9%, 61.8%, 51.8%)
CIE-LABlab(28.75, 37.88, 14.77)
CIE-LCHlch(28.75, 40.66, 21.29°)
OKLaboklab(40.05% 0.1131 0.0361)
OKLCHoklch(40.05% 0.119 17.7)
XYZxyz(9.3439, 5.7406, 3.3048)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B252F #257B71
analogous
#7B255A #7B252F #7B4625
triadic
#7B252F #2F7B25 #252F7B
tetradic
#7B252F #5A7B25 #257B71 #46257B
square
#7B252F #5A7B25 #257B71 #46257B
split-complementary
#7B252F #257B46 #255A7B
monochromatic
#1D090B #4C171D #7B252F #AA3341 #CA505E

Accessibility & contrast

On white

9.78
#7B252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B252F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B252F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B252F#FFFFFF#000000##FFFFFF
##7B252F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#514A2D
Tritanopia (blue-blind)
#871229
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b252f;
/* rgb */ color: rgb(123, 37, 47);
/* oklch */ color: oklch(40.0% 0.119 17.7);
Tailwind
colors: {
  custom: {
    50: '#a76567',
    500: '#7b252f',
    950: '#000000',
  },
}
SCSS
$custom: #7b252f;
$custom-light: #a76567;
$custom-dark: #000000;
JSON
{
  "hex": "#7b252f",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 353.023,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.11876,
    "h": 17.7
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#7B252F
secondary
#4FADA2
accent
#DDCC4B
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7B252F

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

Preview Lab → · Contrast checker → · Palette generator →

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