#7F2A36#7F2A36

#7F2A36 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.5% C 0.117 H 15.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7F2A36
RGBrgb(127, 42, 54)
HSLhsl(352, 50%, 33%)
HSVhsv(352, 67%, 50%)
CMYKcmyk(0%, 66.9%, 57.5%, 50.2%)
CIE-LABlab(30.49, 37.60, 12.62)
CIE-LCHlch(30.49, 39.66, 18.55°)
OKLaboklab(41.54% 0.113 0.0314)
OKLCHoklch(41.54% 0.117 15.5)
XYZxyz(10.2471, 6.4356, 4.1919)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A36 #2A7F73
analogous
#7F2A60 #7F2A36 #7F482A
triadic
#7F2A36 #367F2A #2A367F
tetradic
#7F2A36 #607F2A #2A7F73 #482A7F
square
#7F2A36 #607F2A #2A7F73 #482A7F
split-complementary
#7F2A36 #2A7F48 #2A607F
monochromatic
#230C0F #511B22 #7F2A36 #AD394A #C95B6A

Accessibility & contrast

On white

9.18
#7F2A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F2A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A36
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A36#FFFFFF#000000##FFFFFF
##7F2A361.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D36
Deuteranopia (green-blind)
#544E34
Tritanopia (blue-blind)
#8B1A2F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2a36;
/* rgb */ color: rgb(127, 42, 54);
/* oklch */ color: oklch(41.5% 0.117 15.5);
Tailwind
colors: {
  custom: {
    50: '#a9696c',
    500: '#7f2a36',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a36;
$custom-light: #a9696c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a36",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 351.529,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.11726,
    "h": 15.5
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#7F2A36
secondary
#57AEA2
accent
#DAC64E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F2A36

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

Preview Lab → · Contrast checker → · Palette generator →

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