#7F2F40#7F2F40

#7F2F40 is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.5% C 0.111 H 10.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7F2F40
RGBrgb(127, 47, 64)
HSLhsl(347, 46%, 34%)
HSVhsv(347, 63%, 50%)
CMYKcmyk(0%, 63%, 49.6%, 50.2%)
CIE-LABlab(31.62, 36.15, 7.63)
CIE-LCHlch(31.62, 36.94, 11.91°)
OKLaboklab(42.46% 0.1096 0.0197)
OKLCHoklch(42.46% 0.111 10.2)
XYZxyz(10.6951, 6.9165, 5.6213)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F40 #2F7F6E
analogous
#7F2F68 #7F2F40 #7F462F
triadic
#7F2F40 #407F2F #2F407F
tetradic
#7F2F40 #687F2F #2F7F6E #462F7F
square
#7F2F40 #687F2F #2F7F6E #462F7F
split-complementary
#7F2F40 #2F7F46 #2F687F
monochromatic
#260E13 #521E29 #7F2F40 #AC4057 #C56378

Accessibility & contrast

On white

8.81
#7F2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F2F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F40
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F40#FFFFFF#000000##FFFFFF
##7F2F401.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#55503E
Tritanopia (blue-blind)
#8A2435
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2f40;
/* rgb */ color: rgb(127, 47, 64);
/* oklch */ color: oklch(42.5% 0.111 10.2);
Tailwind
colors: {
  custom: {
    50: '#a86c74',
    500: '#7f2f40',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f40;
$custom-light: #a86c74;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f40",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 347.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42462,
    "c": 0.11139,
    "h": 10.2
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#7F2F40
secondary
#5EAC9B
accent
#D6BA52
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7F2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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