#7F2A2D#7F2A2D

#7F2A2D is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.118 H 21.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7F2A2D
RGBrgb(127, 42, 45)
HSLhsl(358, 50%, 33%)
HSVhsv(358, 67%, 50%)
CMYKcmyk(0%, 66.9%, 64.6%, 50.2%)
CIE-LABlab(30.30, 36.90, 18.24)
CIE-LCHlch(30.30, 41.16, 26.30°)
OKLaboklab(41.34% 0.1091 0.0438)
OKLCHoklch(41.34% 0.118 21.9)
XYZxyz(10.0550, 6.3588, 3.1800)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A2D #2A7F7C
analogous
#7F2A57 #7F2A2D #7F512A
triadic
#7F2A2D #2D7F2A #2A2D7F
tetradic
#7F2A2D #577F2A #2A7F7C #512A7F
square
#7F2A2D #577F2A #2A7F7C #512A7F
split-complementary
#7F2A2D #2A7F51 #2A577F
monochromatic
#230C0C #511B1D #7F2A2D #AD393D #C95B5F

Accessibility & contrast

On white

9.25
#7F2A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F2A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A2D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A2D#FFFFFF#000000##FFFFFF
##7F2A2D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2C
Deuteranopia (green-blind)
#554E2B
Tritanopia (blue-blind)
#8B172C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a2d;
/* rgb */ color: rgb(127, 42, 45);
/* oklch */ color: oklch(41.3% 0.118 21.9);
Tailwind
colors: {
  custom: {
    50: '#aa6865',
    500: '#7f2a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a2d;
$custom-light: #aa6865;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a2d",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 357.882,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.1176,
    "h": 21.9
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#7F2A2D
secondary
#57AEAB
accent
#DAD54E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F2A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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