#7F252E#7F252E

#7F252E is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.123 H 18.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7F252E
RGBrgb(127, 37, 46)
HSLhsl(354, 55%, 32%)
HSVhsv(354, 71%, 50%)
CMYKcmyk(0%, 70.9%, 63.8%, 50.2%)
CIE-LABlab(29.50, 39.21, 16.55)
CIE-LCHlch(29.50, 42.56, 22.89°)
OKLaboklab(40.74% 0.1167 0.0401)
OKLCHoklch(40.74% 0.123 18.9)
XYZxyz(9.9081, 6.0338, 3.2271)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F252E #257F76
analogous
#7F255B #7F252E #7F4925
triadic
#7F252E #2E7F25 #252E7F
tetradic
#7F252E #5B7F25 #257F76 #49257F
square
#7F252E #5B7F25 #257F76 #49257F
split-complementary
#7F252E #257F49 #255B7F
monochromatic
#20090C #50171D #7F252E #AE333F #CD525E

Accessibility & contrast

On white

9.52
#7F252E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F252E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F252E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F252E#FFFFFF#000000##FFFFFF
##7F252E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392E
Deuteranopia (green-blind)
#544C2C
Tritanopia (blue-blind)
#8B0F29
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f252e;
/* rgb */ color: rgb(127, 37, 46);
/* oklch */ color: oklch(40.7% 0.123 18.9);
Tailwind
colors: {
  custom: {
    50: '#aa6666',
    500: '#7f252e',
    950: '#000000',
  },
}
SCSS
$custom: #7f252e;
$custom-light: #aa6666;
$custom-dark: #000000;
JSON
{
  "hex": "#7f252e",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 354,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.12333,
    "h": 18.9
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#7F252E
secondary
#4FB1A7
accent
#DECF4A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F252E

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

Preview Lab → · Contrast checker → · Palette generator →

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