#7F2A3E#7F2A3E

#7F2A3E is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.7% C 0.118 H 9.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7F2A3E
RGBrgb(127, 42, 62)
HSLhsl(346, 50%, 33%)
HSVhsv(346, 67%, 50%)
CMYKcmyk(0%, 66.9%, 51.2%, 50.2%)
CIE-LABlab(30.68, 38.32, 7.63)
CIE-LCHlch(30.68, 39.08, 11.25°)
OKLaboklab(41.75% 0.1163 0.0196)
OKLCHoklch(41.75% 0.118 9.6)
XYZxyz(10.4507, 6.5171, 5.2641)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A3E #2A7F6B
analogous
#7F2A68 #7F2A3E #7F402A
triadic
#7F2A3E #3E7F2A #2A3E7F
tetradic
#7F2A3E #687F2A #2A7F6B #402A7F
square
#7F2A3E #687F2A #2A7F6B #402A7F
split-complementary
#7F2A3E #2A7F40 #2A687F
monochromatic
#230C11 #511B28 #7F2A3E #AD3954 #C95B75

Accessibility & contrast

On white

9.12
#7F2A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F2A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A3E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A3E#FFFFFF#000000##FFFFFF
##7F2A3E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3E
Deuteranopia (green-blind)
#534F3C
Tritanopia (blue-blind)
#8A1D32
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2a3e;
/* rgb */ color: rgb(127, 42, 62);
/* oklch */ color: oklch(41.7% 0.118 9.6);
Tailwind
colors: {
  custom: {
    50: '#a96973',
    500: '#7f2a3e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a3e;
$custom-light: #a96973;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a3e",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 345.882,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.11799,
    "h": 9.6
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#7F2A3E
secondary
#57AE9A
accent
#DAB94E
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7F2A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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