#7F242D#7F242D

#7F242D is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.124 H 19.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7F242D
RGBrgb(127, 36, 45)
HSLhsl(354, 56%, 32%)
HSVhsv(354, 72%, 50%)
CMYKcmyk(0%, 71.7%, 64.6%, 50.2%)
CIE-LABlab(29.32, 39.56, 16.98)
CIE-LCHlch(29.32, 43.05, 23.23°)
OKLaboklab(40.61% 0.1176 0.0409)
OKLCHoklch(40.61% 0.125 19.2)
XYZxyz(9.8579, 5.9646, 3.1143)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F242D #247F76
analogous
#7F245B #7F242D #7F4924
triadic
#7F242D #2D7F24 #242D7F
tetradic
#7F242D #5B7F24 #247F76 #49247F
square
#7F242D #5B7F24 #247F76 #49247F
split-complementary
#7F242D #247F49 #245B7F
monochromatic
#20090B #4F161C #7F242D #AF323E #CD505C

Accessibility & contrast

On white

9.58
#7F242D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F242D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F242D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F242D#FFFFFF#000000##FFFFFF
##7F242D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392D
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#8C0C28
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f242d;
/* rgb */ color: rgb(127, 36, 45);
/* oklch */ color: oklch(40.6% 0.124 19.2);
Tailwind
colors: {
  custom: {
    50: '#aa6565',
    500: '#7f242d',
    950: '#000000',
  },
}
SCSS
$custom: #7f242d;
$custom-light: #aa6565;
$custom-dark: #000000;
JSON
{
  "hex": "#7f242d",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 45
  },
  "hsl": {
    "h": 354.066,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.1245,
    "h": 19.2
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#7F242D
secondary
#4EB1A7
accent
#DFD049
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F242D

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

Preview Lab → · Contrast checker → · Palette generator →

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