#7F2518#7F2518

#7F2518 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.126 H 31.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7F2518
RGBrgb(127, 37, 24)
HSLhsl(8, 68%, 30%)
HSVhsv(8, 81%, 50%)
CMYKcmyk(0%, 70.9%, 81.1%, 50.2%)
CIE-LABlab(29.17, 38.01, 29.94)
CIE-LCHlch(29.17, 48.39, 38.22°)
OKLaboklab(40.39% 0.1081 0.0654)
OKLCHoklch(40.39% 0.126 31.2)
XYZxyz(9.5799, 5.9025, 1.4988)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2518 #18727F
analogous
#7F183E #7F2518 #7F5918
triadic
#7F2518 #187F25 #25187F
tetradic
#7F2518 #3E7F18 #18727F #59187F
square
#7F2518 #3E7F18 #18727F #59187F
split-complementary
#7F2518 #187F59 #183E7F
monochromatic
#1A0705 #4C160E #7F2518 #B23422 #D94C38

Accessibility & contrast

On white

9.63
#7F2518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F2518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2518
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2518#FFFFFF#000000##FFFFFF
##7F25181.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#8C0623
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2518;
/* rgb */ color: rgb(127, 37, 24);
/* oklch */ color: oklch(40.4% 0.126 31.2);
Tailwind
colors: {
  custom: {
    50: '#ac6556',
    500: '#7f2518',
    950: '#000000',
  },
}
SCSS
$custom: #7f2518;
$custom-light: #ac6556;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2518",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 7.573,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.12636,
    "h": 31.2
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#7F2518
secondary
#3FA5B3
accent
#D5EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2518

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

Preview Lab → · Contrast checker → · Palette generator →

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