#7F2E27#7F2E27

#7F2E27 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.8% C 0.114 H 27.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7F2E27
RGBrgb(127, 46, 39)
HSLhsl(5, 53%, 33%)
HSVhsv(5, 69%, 50%)
CMYKcmyk(0%, 63.8%, 69.3%, 50.2%)
CIE-LABlab(30.91, 34.60, 22.82)
CIE-LCHlch(30.91, 41.44, 33.41°)
OKLaboklab(41.76% 0.1006 0.0533)
OKLCHoklch(41.76% 0.114 27.9)
XYZxyz(10.0966, 6.6139, 2.6640)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E27 #27787F
analogous
#7F274C #7F2E27 #7F5A27
triadic
#7F2E27 #277F2E #2E277F
tetradic
#7F2E27 #4C7F27 #27787F #5A277F
square
#7F2E27 #4C7F27 #27787F #5A277F
split-complementary
#7F2E27 #277F5A #274C7F
monochromatic
#210C0A #501D19 #7F2E27 #AE3F35 #CB5F55

Accessibility & contrast

On white

9.04
#7F2E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F2E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E27
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E27#FFFFFF#000000##FFFFFF
##7F2E271.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E26
Deuteranopia (green-blind)
#584F25
Tritanopia (blue-blind)
#8C1C2D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e27;
/* rgb */ color: rgb(127, 46, 39);
/* oklch */ color: oklch(41.8% 0.114 27.9);
Tailwind
colors: {
  custom: {
    50: '#aa6b61',
    500: '#7f2e27',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e27;
$custom-light: #aa6b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e27",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 4.773,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.11389,
    "h": 27.9
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#7F2E27
secondary
#52A8B0
accent
#D1DC4B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79

Preview Lab

Preview with #7F2E27

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

Preview Lab → · Contrast checker → · Palette generator →

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