#7F2A35#7F2A35

#7F2A35 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.5% C 0.117 H 16.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7F2A35
RGBrgb(127, 42, 53)
HSLhsl(352, 50%, 33%)
HSVhsv(352, 67%, 50%)
CMYKcmyk(0%, 66.9%, 58.3%, 50.2%)
CIE-LABlab(30.46, 37.52, 13.24)
CIE-LCHlch(30.46, 39.79, 19.44°)
OKLaboklab(41.51% 0.1126 0.0329)
OKLCHoklch(41.51% 0.117 16.3)
XYZxyz(10.2239, 6.4263, 4.0695)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A35 #2A7F74
analogous
#7F2A5F #7F2A35 #7F492A
triadic
#7F2A35 #357F2A #2A357F
tetradic
#7F2A35 #5F7F2A #2A7F74 #492A7F
square
#7F2A35 #5F7F2A #2A7F74 #492A7F
split-complementary
#7F2A35 #2A7F49 #2A5F7F
monochromatic
#230C0F #511B22 #7F2A35 #AD3948 #C95B69

Accessibility & contrast

On white

9.19
#7F2A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F2A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A35
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A35#FFFFFF#000000##FFFFFF
##7F2A351.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D35
Deuteranopia (green-blind)
#554E33
Tritanopia (blue-blind)
#8B1A2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2a35;
/* rgb */ color: rgb(127, 42, 53);
/* oklch */ color: oklch(41.5% 0.117 16.3);
Tailwind
colors: {
  custom: {
    50: '#a9696c',
    500: '#7f2a35',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a35;
$custom-light: #a9696c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a35",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 53
  },
  "hsl": {
    "h": 352.235,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.11725,
    "h": 16.3
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#7F2A35
secondary
#57AEA3
accent
#DAC84E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2A35

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

Preview Lab → · Contrast checker → · Palette generator →

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