#7F2C28#7F2C28

#7F2C28 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.116 H 26.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7F2C28
RGBrgb(127, 44, 40)
HSLhsl(3, 52%, 33%)
HSVhsv(3, 69%, 50%)
CMYKcmyk(0%, 65.4%, 68.5%, 50.2%)
CIE-LABlab(30.56, 35.63, 21.77)
CIE-LCHlch(30.56, 41.75, 31.42°)
OKLaboklab(41.51% 0.1041 0.0511)
OKLCHoklch(41.51% 0.116 26.2)
XYZxyz(10.0371, 6.4680, 2.7270)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C28 #287B7F
analogous
#7F284F #7F2C28 #7F5828
triadic
#7F2C28 #287F2C #2C287F
tetradic
#7F2C28 #4F7F28 #287B7F #58287F
square
#7F2C28 #4F7F28 #287B7F #58287F
split-complementary
#7F2C28 #287F58 #284F7F
monochromatic
#220C0B #501C19 #7F2C28 #AE3C37 #CA5D57

Accessibility & contrast

On white

9.16
#7F2C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2C28
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C28#FFFFFF#000000##FFFFFF
##7F2C281.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D27
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#8C192C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2c28;
/* rgb */ color: rgb(127, 44, 40);
/* oklch */ color: oklch(41.5% 0.116 26.2);
Tailwind
colors: {
  custom: {
    50: '#aa6962',
    500: '#7f2c28',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c28;
$custom-light: #aa6962;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c28",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 40
  },
  "hsl": {
    "h": 2.759,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.11597,
    "h": 26.2
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#7F2C28
secondary
#54ABAF
accent
#D5DC4C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7F2C28

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

Preview Lab → · Contrast checker → · Palette generator →

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