#7F2A38#7F2A38

#7F2A38 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.117 H 14.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7F2A38
RGBrgb(127, 42, 56)
HSLhsl(350, 50%, 33%)
HSVhsv(350, 67%, 50%)
CMYKcmyk(0%, 66.9%, 55.9%, 50.2%)
CIE-LABlab(30.53, 37.77, 11.37)
CIE-LCHlch(30.53, 39.45, 16.75°)
OKLaboklab(41.59% 0.1138 0.0285)
OKLCHoklch(41.59% 0.117 14.1)
XYZxyz(10.2951, 6.4548, 4.4444)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A38 #2A7F71
analogous
#7F2A62 #7F2A38 #7F462A
triadic
#7F2A38 #387F2A #2A387F
tetradic
#7F2A38 #627F2A #2A7F71 #462A7F
square
#7F2A38 #627F2A #2A7F71 #462A7F
split-complementary
#7F2A38 #2A7F46 #2A627F
monochromatic
#230C0F #511B24 #7F2A38 #AD394C #C95B6D

Accessibility & contrast

On white

9.17
#7F2A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A38
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A38#FFFFFF#000000##FFFFFF
##7F2A381.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3D38
Deuteranopia (green-blind)
#544E36
Tritanopia (blue-blind)
#8B1B30
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2a38;
/* rgb */ color: rgb(127, 42, 56);
/* oklch */ color: oklch(41.6% 0.117 14.1);
Tailwind
colors: {
  custom: {
    50: '#a9696e',
    500: '#7f2a38',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a38;
$custom-light: #a9696e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a38",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 350.118,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.11734,
    "h": 14.1
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#7F2A38
secondary
#57AEA0
accent
#DAC34E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F2A38

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

Preview Lab → · Contrast checker → · Palette generator →

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