#7F2829#7F2829

#7F2829 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.120 H 23.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7F2829
RGBrgb(127, 40, 41)
HSLhsl(359, 52%, 33%)
HSVhsv(359, 69%, 50%)
CMYKcmyk(0%, 68.5%, 67.7%, 50.2%)
CIE-LABlab(29.89, 37.55, 20.30)
CIE-LCHlch(29.89, 42.69, 28.39°)
OKLaboklab(41.01% 0.1104 0.048)
OKLCHoklch(41.01% 0.12 23.5)
XYZxyz(9.9124, 6.1911, 2.7704)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2829 #287F7E
analogous
#7F2855 #7F2829 #7F5228
triadic
#7F2829 #297F28 #28297F
tetradic
#7F2829 #557F28 #287F7E #52287F
square
#7F2829 #557F28 #287F7E #52287F
split-complementary
#7F2829 #287F52 #28557F
monochromatic
#220B0B #50191A #7F2829 #AE3738 #CA5759

Accessibility & contrast

On white

9.38
#7F2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2829
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2829#FFFFFF#000000##FFFFFF
##7F28291.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B28
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#8C1329
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2829;
/* rgb */ color: rgb(127, 40, 41);
/* oklch */ color: oklch(41.0% 0.120 23.5);
Tailwind
colors: {
  custom: {
    50: '#aa6762',
    500: '#7f2829',
    950: '#000000',
  },
}
SCSS
$custom: #7f2829;
$custom-light: #aa6762;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2829",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.31,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.12034,
    "h": 23.5
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#7F2829
secondary
#54AFAE
accent
#DCDA4C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F2829

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

Preview Lab → · Contrast checker → · Palette generator →

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