#7F2C2F#7F2C2F

#7F2C2F is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.115 H 21.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7F2C2F
RGBrgb(127, 44, 47)
HSLhsl(358, 49%, 34%)
HSVhsv(358, 65%, 50%)
CMYKcmyk(0%, 65.4%, 63%, 50.2%)
CIE-LABlab(30.69, 36.11, 17.44)
CIE-LCHlch(30.69, 40.10, 25.78°)
OKLaboklab(41.64% 0.107 0.0422)
OKLCHoklch(41.64% 0.115 21.5)
XYZxyz(10.1671, 6.5200, 3.4119)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C2F #2C7F7C
analogous
#7F2C58 #7F2C2F #7F522C
triadic
#7F2C2F #2F7F2C #2C2F7F
tetradic
#7F2C2F #587F2C #2C7F7C #522C7F
square
#7F2C2F #587F2C #2C7F7C #522C7F
split-complementary
#7F2C2F #2C7F52 #2C587F
monochromatic
#240D0D #521C1E #7F2C2F #AC3C40 #C75E62

Accessibility & contrast

On white

9.12
#7F2C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F2C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C2F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C2F#FFFFFF#000000##FFFFFF
##7F2C2F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2E
Deuteranopia (green-blind)
#564F2D
Tritanopia (blue-blind)
#8B1B2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2c2f;
/* rgb */ color: rgb(127, 44, 47);
/* oklch */ color: oklch(41.6% 0.115 21.5);
Tailwind
colors: {
  custom: {
    50: '#a96a67',
    500: '#7f2c2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c2f;
$custom-light: #a96a67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c2f",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 47
  },
  "hsl": {
    "h": 357.831,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.11503,
    "h": 21.5
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#7F2C2F
secondary
#59ADAA
accent
#D8D350
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F2C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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