#7F2F35#7F2F35

#7F2F35 is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.2% C 0.111 H 18.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7F2F35
RGBrgb(127, 47, 53)
HSLhsl(356, 46%, 34%)
HSVhsv(356, 63%, 50%)
CMYKcmyk(0%, 63%, 58.3%, 50.2%)
CIE-LABlab(31.36, 35.13, 14.44)
CIE-LCHlch(31.36, 37.98, 22.34°)
OKLaboklab(42.18% 0.105 0.0357)
OKLCHoklch(42.18% 0.111 18.8)
XYZxyz(10.4124, 6.8034, 4.1323)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F35 #2F7F79
analogous
#7F2F5D #7F2F35 #7F512F
triadic
#7F2F35 #357F2F #2F357F
tetradic
#7F2F35 #5D7F2F #2F7F79 #512F7F
square
#7F2F35 #5D7F2F #2F7F79 #512F7F
split-complementary
#7F2F35 #2F7F51 #2F5D7F
monochromatic
#260E10 #521E22 #7F2F35 #AC4048 #C5636A

Accessibility & contrast

On white

8.90
#7F2F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F2F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F35
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F35#FFFFFF#000000##FFFFFF
##7F2F351.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F35
Deuteranopia (green-blind)
#575033
Tritanopia (blue-blind)
#8B2132
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2f35;
/* rgb */ color: rgb(127, 47, 53);
/* oklch */ color: oklch(42.2% 0.111 18.8);
Tailwind
colors: {
  custom: {
    50: '#a96b6c',
    500: '#7f2f35',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f35;
$custom-light: #a96b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f35",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 355.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.11086,
    "h": 18.8
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#7F2F35
secondary
#5EACA6
accent
#D6CC52
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F2F35

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

Preview Lab → · Contrast checker → · Palette generator →

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