#7F2F28#7F2F28

#7F2F28 is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.113 H 27.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7F2F28
RGBrgb(127, 47, 40)
HSLhsl(5, 52%, 33%)
HSVhsv(5, 69%, 50%)
CMYKcmyk(0%, 63%, 68.5%, 50.2%)
CIE-LABlab(31.11, 34.17, 22.44)
CIE-LCHlch(31.11, 40.88, 33.30°)
OKLaboklab(41.92% 0.0995 0.0526)
OKLCHoklch(41.92% 0.113 27.9)
XYZxyz(10.1529, 6.6996, 2.7656)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F28 #28787F
analogous
#7F284C #7F2F28 #7F5B28
triadic
#7F2F28 #287F2F #2F287F
tetradic
#7F2F28 #4C7F28 #28787F #5B287F
square
#7F2F28 #4C7F28 #28787F #5B287F
split-complementary
#7F2F28 #287F5B #284C7F
monochromatic
#220D0B #501E19 #7F2F28 #AE4037 #CA6057

Accessibility & contrast

On white

8.98
#7F2F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7F2F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F28
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F28#FFFFFF#000000##FFFFFF
##7F2F281.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E27
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#8C1E2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f28;
/* rgb */ color: rgb(127, 47, 40);
/* oklch */ color: oklch(41.9% 0.113 27.9);
Tailwind
colors: {
  custom: {
    50: '#aa6b62',
    500: '#7f2f28',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f28;
$custom-light: #aa6b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f28",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 4.828,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.11256,
    "h": 27.9
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#7F2F28
secondary
#54A8AF
accent
#D0DC4C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7F2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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