#7B273B#7B273B

#7B273B is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.6% C 0.117 H 9.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7B273B
RGBrgb(123, 39, 59)
HSLhsl(346, 52%, 32%)
HSVhsv(346, 68%, 48%)
CMYKcmyk(0%, 68.3%, 52%, 51.8%)
CIE-LABlab(29.36, 38.02, 7.65)
CIE-LCHlch(29.36, 38.78, 11.37°)
OKLaboklab(40.6% 0.1154 0.0197)
OKLCHoklch(40.6% 0.117 9.7)
XYZxyz(9.6841, 5.9790, 4.7809)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B273B #277B67
analogous
#7B2765 #7B273B #7B3D27
triadic
#7B273B #3B7B27 #273B7B
tetradic
#7B273B #657B27 #277B67 #3D277B
square
#7B273B #657B27 #277B67 #3D277B
split-complementary
#7B273B #277B3D #27657B
monochromatic
#1E0A0E #4D1825 #7B273B #A93651 #C95470

Accessibility & contrast

On white

9.56
#7B273B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B273B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B273B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B273B#FFFFFF#000000##FFFFFF
##7B273B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3B
Deuteranopia (green-blind)
#504B39
Tritanopia (blue-blind)
#86192F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b273b;
/* rgb */ color: rgb(123, 39, 59);
/* oklch */ color: oklch(40.6% 0.117 9.7);
Tailwind
colors: {
  custom: {
    50: '#a66770',
    500: '#7b273b',
    950: '#000000',
  },
}
SCSS
$custom: #7b273b;
$custom-light: #a66770;
$custom-dark: #000000;
JSON
{
  "hex": "#7b273b",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 59
  },
  "hsl": {
    "h": 345.714,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40596,
    "c": 0.11705,
    "h": 9.7
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#7B273B
secondary
#51AD97
accent
#DBB94C
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7B273B

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

Preview Lab → · Contrast checker → · Palette generator →

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