#7A272F#7A272F

#7A272F is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.1% C 0.115 H 18.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7A272F
RGBrgb(122, 39, 47)
HSLhsl(354, 52%, 32%)
HSVhsv(354, 68%, 48%)
CMYKcmyk(0%, 68%, 61.5%, 52.2%)
CIE-LABlab(28.89, 36.63, 14.92)
CIE-LCHlch(28.89, 39.55, 22.16°)
OKLaboklab(40.12% 0.1093 0.0365)
OKLCHoklch(40.12% 0.115 18.5)
XYZxyz(9.2655, 5.7951, 3.3194)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A272F #277A72
analogous
#7A2759 #7A272F #7A4927
triadic
#7A272F #2F7A27 #272F7A
tetradic
#7A272F #597A27 #277A72 #49277A
square
#7A272F #597A27 #277A72 #49277A
split-complementary
#7A272F #277A49 #27597A
monochromatic
#1D090B #4C181D #7A272F #A83641 #C8535F

Accessibility & contrast

On white

9.73
#7A272F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A272F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A272F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A272F#FFFFFF#000000##FFFFFF
##7A272F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#514B2D
Tritanopia (blue-blind)
#86162A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a272f;
/* rgb */ color: rgb(122, 39, 47);
/* oklch */ color: oklch(40.1% 0.115 18.5);
Tailwind
colors: {
  custom: {
    50: '#a66667',
    500: '#7a272f',
    950: '#000000',
  },
}
SCSS
$custom: #7a272f;
$custom-light: #a66667;
$custom-dark: #000000;
JSON
{
  "hex": "#7a272f",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 354.217,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.1152,
    "h": 18.5
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#7A272F
secondary
#51ACA3
accent
#DBCD4D
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7A272F

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

Preview Lab → · Contrast checker → · Palette generator →

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