#7C2F40#7C2F40

#7C2F40 is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.108 H 9.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7C2F40
RGBrgb(124, 47, 64)
HSLhsl(347, 45%, 34%)
HSVhsv(347, 62%, 49%)
CMYKcmyk(0%, 62.1%, 48.4%, 51.4%)
CIE-LABlab(31.09, 35.06, 6.81)
CIE-LCHlch(31.09, 35.72, 10.99°)
OKLaboklab(41.97% 0.1064 0.0177)
OKLCHoklch(41.97% 0.108 9.4)
XYZxyz(10.2549, 6.6895, 5.6007)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F40 #2F7C6B
analogous
#7C2F66 #7C2F40 #7C442F
triadic
#7C2F40 #407C2F #2F407C
tetradic
#7C2F40 #667C2F #2F7C6B #442F7C
square
#7C2F40 #667C2F #2F7C6B #442F7C
split-complementary
#7C2F40 #2F7C44 #2F667C
monochromatic
#230D12 #501E29 #7C2F40 #A84057 #C36277

Accessibility & contrast

On white

8.98
#7C2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7C2F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F40
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F40#FFFFFF#000000##FFFFFF
##7C2F401.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4040
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#872535
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c2f40;
/* rgb */ color: rgb(124, 47, 64);
/* oklch */ color: oklch(42.0% 0.108 9.4);
Tailwind
colors: {
  custom: {
    50: '#a66b74',
    500: '#7c2f40',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f40;
$custom-light: #a66b74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f40",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 346.753,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.10789,
    "h": 9.4
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#7C2F40
secondary
#5CAA99
accent
#D5B853
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7C2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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