#7F2E35#7F2E35

#7F2E35 is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.112 H 18.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7F2E35
RGBrgb(127, 46, 53)
HSLhsl(355, 47%, 34%)
HSVhsv(355, 64%, 50%)
CMYKcmyk(0%, 63.8%, 58.3%, 50.2%)
CIE-LABlab(31.17, 35.62, 14.19)
CIE-LCHlch(31.17, 38.34, 21.72°)
OKLaboklab(42.04% 0.1065 0.0351)
OKLCHoklch(42.04% 0.112 18.2)
XYZxyz(10.3729, 6.7244, 4.1192)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E35 #2E7F78
analogous
#7F2E5E #7F2E35 #7F502E
triadic
#7F2E35 #357F2E #2E357F
tetradic
#7F2E35 #5E7F2E #2E7F78 #502E7F
square
#7F2E35 #5E7F2E #2E7F78 #502E7F
split-complementary
#7F2E35 #2E7F50 #2E5E7F
monochromatic
#250D10 #521E22 #7F2E35 #AC3E48 #C6616A

Accessibility & contrast

On white

8.96
#7F2E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2E35
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E35#FFFFFF#000000##FFFFFF
##7F2E351.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F35
Deuteranopia (green-blind)
#565033
Tritanopia (blue-blind)
#8B1F31
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e35;
/* rgb */ color: rgb(127, 46, 53);
/* oklch */ color: oklch(42.0% 0.112 18.2);
Tailwind
colors: {
  custom: {
    50: '#a96b6c',
    500: '#7f2e35',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e35;
$custom-light: #a96b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e35",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 53
  },
  "hsl": {
    "h": 354.815,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42043,
    "c": 0.11215,
    "h": 18.2
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#7F2E35
secondary
#5CADA6
accent
#D6CB51
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F2E35

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

Preview Lab → · Contrast checker → · Palette generator →

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