#7F2F27#7F2F27

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

Color values

HEX#7F2F27
RGBrgb(127, 47, 39)
HSLhsl(5, 53%, 33%)
HSVhsv(5, 69%, 50%)
CMYKcmyk(0%, 63%, 69.3%, 50.2%)
CIE-LABlab(31.10, 34.10, 23.05)
CIE-LCHlch(31.10, 41.16, 34.05°)
OKLaboklab(41.9% 0.0991 0.0538)
OKLCHoklch(41.9% 0.113 28.5)
XYZxyz(10.1361, 6.6929, 2.6772)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F27 #27777F
analogous
#7F274B #7F2F27 #7F5B27
triadic
#7F2F27 #277F2F #2F277F
tetradic
#7F2F27 #4B7F27 #27777F #5B277F
square
#7F2F27 #4B7F27 #27777F #5B277F
split-complementary
#7F2F27 #277F5B #274B7F
monochromatic
#210C0A #501E19 #7F2F27 #AE4035 #CB6055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2F27#FFFFFF#000000##FFFFFF
##7F2F271.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)
#443E26
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#8C1E2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f27;
/* rgb */ color: rgb(127, 47, 39);
/* oklch */ color: oklch(41.9% 0.113 28.5);
Tailwind
colors: {
  custom: {
    50: '#aa6b61',
    500: '#7f2f27',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f27;
$custom-light: #aa6b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f27",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 5.455,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.11276,
    "h": 28.5
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#7F2F27
secondary
#52A7B0
accent
#CFDC4B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79

Preview Lab

Preview with #7F2F27

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

Preview Lab → · Contrast checker → · Palette generator →

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