#7D2F40#7D2F40

#7D2F40 is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.109 H 9.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7D2F40
RGBrgb(125, 47, 64)
HSLhsl(347, 45%, 34%)
HSVhsv(347, 62%, 49%)
CMYKcmyk(0%, 62.4%, 48.8%, 51%)
CIE-LABlab(31.26, 35.42, 7.08)
CIE-LCHlch(31.26, 36.12, 11.30°)
OKLaboklab(42.13% 0.1075 0.0183)
OKLCHoklch(42.13% 0.109 9.7)
XYZxyz(10.4001, 6.7644, 5.6075)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F40 #2F7D6C
analogous
#7D2F67 #7D2F40 #7D452F
triadic
#7D2F40 #407D2F #2F407D
tetradic
#7D2F40 #677D2F #2F7D6C #452F7D
square
#7D2F40 #677D2F #2F7D6C #452F7D
split-complementary
#7D2F40 #2F7D45 #2F677D
monochromatic
#240E12 #511E29 #7D2F40 #A94057 #C46278

Accessibility & contrast

On white

8.93
#7D2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D2F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F40
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F40#FFFFFF#000000##FFFFFF
##7D2F401.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#544F3E
Tritanopia (blue-blind)
#882435
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2f40;
/* rgb */ color: rgb(125, 47, 64);
/* oklch */ color: oklch(42.1% 0.109 9.7);
Tailwind
colors: {
  custom: {
    50: '#a76b74',
    500: '#7d2f40',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f40;
$custom-light: #a76b74;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f40",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 346.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42131,
    "c": 0.10906,
    "h": 9.7
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#7D2F40
secondary
#5DAB9A
accent
#D5B953
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7D2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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