#7F2A25#7F2A25

#7F2A25 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.119 H 26.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7F2A25
RGBrgb(127, 42, 37)
HSLhsl(3, 55%, 32%)
HSVhsv(3, 71%, 50%)
CMYKcmyk(0%, 66.9%, 70.9%, 50.2%)
CIE-LABlab(30.16, 36.39, 23.17)
CIE-LCHlch(30.16, 43.14, 32.49°)
OKLaboklab(41.19% 0.1058 0.0538)
OKLCHoklch(41.19% 0.119 26.9)
XYZxyz(9.9153, 6.3029, 2.4444)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A25 #257A7F
analogous
#7F254D #7F2A25 #7F5725
triadic
#7F2A25 #257F2A #2A257F
tetradic
#7F2A25 #4D7F25 #257A7F #57257F
square
#7F2A25 #4D7F25 #257A7F #57257F
split-complementary
#7F2A25 #257F57 #254D7F
monochromatic
#200B09 #501A17 #7F2A25 #AE3A33 #CD5952

Accessibility & contrast

On white

9.29
#7F2A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F2A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A25
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A25#FFFFFF#000000##FFFFFF
##7F2A251.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B24
Deuteranopia (green-blind)
#564E23
Tritanopia (blue-blind)
#8C1529
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a25;
/* rgb */ color: rgb(127, 42, 37);
/* oklch */ color: oklch(41.2% 0.119 26.9);
Tailwind
colors: {
  custom: {
    50: '#aa685f',
    500: '#7f2a25',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a25;
$custom-light: #aa685f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a25",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 37
  },
  "hsl": {
    "h": 3.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.11873,
    "h": 26.9
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#7F2A25
secondary
#4FABB1
accent
#D6DE4A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2A25

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

Preview Lab → · Contrast checker → · Palette generator →

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