#7B272F#7B272F

#7B272F is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.116 H 18.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7B272F
RGBrgb(123, 39, 47)
HSLhsl(354, 52%, 32%)
HSVhsv(354, 68%, 48%)
CMYKcmyk(0%, 68.3%, 61.8%, 51.8%)
CIE-LABlab(29.08, 36.99, 15.20)
CIE-LCHlch(29.08, 39.99, 22.34°)
OKLaboklab(40.29% 0.1103 0.0371)
OKLCHoklch(40.29% 0.116 18.6)
XYZxyz(9.4079, 5.8685, 3.3261)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B272F #277B73
analogous
#7B2759 #7B272F #7B4927
triadic
#7B272F #2F7B27 #272F7B
tetradic
#7B272F #597B27 #277B73 #49277B
square
#7B272F #597B27 #277B73 #49277B
split-complementary
#7B272F #277B49 #27597B
monochromatic
#1E0A0B #4D181D #7B272F #A93641 #C9545F

Accessibility & contrast

On white

9.66
#7B272F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B272F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B272F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B272F#FFFFFF#000000##FFFFFF
##7B272F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#524B2D
Tritanopia (blue-blind)
#87152A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b272f;
/* rgb */ color: rgb(123, 39, 47);
/* oklch */ color: oklch(40.3% 0.116 18.6);
Tailwind
colors: {
  custom: {
    50: '#a76667',
    500: '#7b272f',
    950: '#000000',
  },
}
SCSS
$custom: #7b272f;
$custom-light: #a76667;
$custom-dark: #000000;
JSON
{
  "hex": "#7b272f",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 354.286,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40295,
    "c": 0.11637,
    "h": 18.6
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#7B272F
secondary
#51ADA4
accent
#DBCE4C
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7B272F

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

Preview Lab → · Contrast checker → · Palette generator →

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