#7F2B38#7F2B38

#7F2B38 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.7% C 0.116 H 14.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F2B38
RGBrgb(127, 43, 56)
HSLhsl(351, 49%, 33%)
HSVhsv(351, 66%, 50%)
CMYKcmyk(0%, 66.1%, 55.9%, 50.2%)
CIE-LABlab(30.70, 37.31, 11.60)
CIE-LCHlch(30.70, 39.07, 17.27°)
OKLaboklab(41.72% 0.1124 0.0291)
OKLCHoklch(41.72% 0.116 14.5)
XYZxyz(10.3310, 6.5266, 4.4564)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B38 #2B7F72
analogous
#7F2B62 #7F2B38 #7F482B
triadic
#7F2B38 #387F2B #2B387F
tetradic
#7F2B38 #627F2B #2B7F72 #482B7F
square
#7F2B38 #627F2B #2B7F72 #482B7F
split-complementary
#7F2B38 #2B7F48 #2B627F
monochromatic
#240C10 #511C24 #7F2B38 #AD3A4C #C85C6D

Accessibility & contrast

On white

9.11
#7F2B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B38
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B38#FFFFFF#000000##FFFFFF
##7F2B381.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D38
Deuteranopia (green-blind)
#544F36
Tritanopia (blue-blind)
#8B1C30
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2b38;
/* rgb */ color: rgb(127, 43, 56);
/* oklch */ color: oklch(41.7% 0.116 14.5);
Tailwind
colors: {
  custom: {
    50: '#a9696e',
    500: '#7f2b38',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b38;
$custom-light: #a9696e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b38",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 56
  },
  "hsl": {
    "h": 350.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.11605,
    "h": 14.5
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#7F2B38
secondary
#58AEA1
accent
#D9C44F
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110707
muted
#807A7A

Preview Lab

Preview with #7F2B38

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

Preview Lab → · Contrast checker → · Palette generator →

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