#7B2F2F#7B2F2F

#7B2F2F is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.106 H 22.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7B2F2F
RGBrgb(123, 47, 47)
HSLhsl(0, 45%, 33%)
HSVhsv(0, 62%, 48%)
CMYKcmyk(0%, 61.8%, 61.8%, 51.8%)
CIE-LABlab(30.52, 33.12, 17.09)
CIE-LCHlch(30.52, 37.27, 27.29°)
OKLaboklab(41.38% 0.0981 0.0415)
OKLCHoklch(41.38% 0.106 22.9)
XYZxyz(9.6989, 6.4505, 3.4231)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F2F #2F7B7B
analogous
#7B2F55 #7B2F2F #7B552F
triadic
#7B2F2F #2F7B2F #2F2F7B
tetradic
#7B2F2F #557B2F #2F7B7B #552F7B
square
#7B2F2F #557B2F #2F7B7B #552F7B
split-complementary
#7B2F2F #2F7B55 #2F557B
monochromatic
#220D0D #4F1E1E #7B2F2F #A74040 #C36262

Accessibility & contrast

On white

9.17
#7B2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7B2F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F2F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F2F#FFFFFF#000000##FFFFFF
##7B2F2F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E2E
Deuteranopia (green-blind)
#554E2D
Tritanopia (blue-blind)
#872130
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b2f2f;
/* rgb */ color: rgb(123, 47, 47);
/* oklch */ color: oklch(41.4% 0.106 22.9);
Tailwind
colors: {
  custom: {
    50: '#a66b67',
    500: '#7b2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f2f;
$custom-light: #a66b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f2f",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.10649,
    "h": 22.9
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#7B2F2F
secondary
#5CAAAA
accent
#D4D453
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7B2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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