#7F2A29#7F2A29

#7F2A29 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.3% C 0.118 H 24.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7F2A29
RGBrgb(127, 42, 41)
HSLhsl(1, 51%, 33%)
HSVhsv(1, 68%, 50%)
CMYKcmyk(0%, 66.9%, 67.7%, 50.2%)
CIE-LABlab(30.23, 36.64, 20.72)
CIE-LCHlch(30.23, 42.09, 29.49°)
OKLaboklab(41.26% 0.1075 0.0489)
OKLCHoklch(41.26% 0.118 24.5)
XYZxyz(9.9816, 6.3294, 2.7935)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A29 #297E7F
analogous
#7F2953 #7F2A29 #7F5529
triadic
#7F2A29 #297F2A #2A297F
tetradic
#7F2A29 #537F29 #297E7F #55297F
square
#7F2A29 #537F29 #297E7F #55297F
split-complementary
#7F2A29 #297F55 #29537F
monochromatic
#220B0B #511B1A #7F2A29 #AD3938 #C95A59

Accessibility & contrast

On white

9.27
#7F2A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F2A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A29
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A29#FFFFFF#000000##FFFFFF
##7F2A291.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C28
Deuteranopia (green-blind)
#564E27
Tritanopia (blue-blind)
#8C162B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a29;
/* rgb */ color: rgb(127, 42, 41);
/* oklch */ color: oklch(41.3% 0.118 24.5);
Tailwind
colors: {
  custom: {
    50: '#aa6862',
    500: '#7f2a29',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a29;
$custom-light: #aa6862;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a29",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 41
  },
  "hsl": {
    "h": 0.698,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.11809,
    "h": 24.5
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#7F2A29
secondary
#55AEAF
accent
#D9DB4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F2A29

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

Preview Lab → · Contrast checker → · Palette generator →

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