#7F2E28#7F2E28

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

Color values

HEX#7F2E28
RGBrgb(127, 46, 40)
HSLhsl(4, 52%, 33%)
HSVhsv(4, 69%, 50%)
CMYKcmyk(0%, 63.8%, 68.5%, 50.2%)
CIE-LABlab(30.93, 34.66, 22.21)
CIE-LCHlch(30.93, 41.17, 32.65°)
OKLaboklab(41.78% 0.101 0.0521)
OKLCHoklch(41.78% 0.114 27.3)
XYZxyz(10.1134, 6.6206, 2.7524)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E28 #28797F
analogous
#7F284D #7F2E28 #7F5928
triadic
#7F2E28 #287F2E #2E287F
tetradic
#7F2E28 #4D7F28 #28797F #59287F
square
#7F2E28 #4D7F28 #28797F #59287F
split-complementary
#7F2E28 #287F59 #284D7F
monochromatic
#220C0B #501D19 #7F2E28 #AE3F37 #CA5F57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2E28#FFFFFF#000000##FFFFFF
##7F2E281.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)
#433E27
Deuteranopia (green-blind)
#584F26
Tritanopia (blue-blind)
#8C1C2D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e28;
/* rgb */ color: rgb(127, 46, 40);
/* oklch */ color: oklch(41.8% 0.114 27.3);
Tailwind
colors: {
  custom: {
    50: '#aa6b62',
    500: '#7f2e28',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e28;
$custom-light: #aa6b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e28",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 4.138,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.1137,
    "h": 27.3
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#7F2E28
secondary
#54A9AF
accent
#D2DC4C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7F2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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