#7F252F#7F252F

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

Color values

HEX#7F252F
RGBrgb(127, 37, 47)
HSLhsl(353, 55%, 32%)
HSVhsv(353, 71%, 50%)
CMYKcmyk(0%, 70.9%, 63%, 50.2%)
CIE-LABlab(29.52, 39.28, 15.92)
CIE-LCHlch(29.52, 42.38, 22.06°)
OKLaboklab(40.77% 0.1171 0.0387)
OKLCHoklch(40.77% 0.123 18.3)
XYZxyz(9.9280, 6.0418, 3.3322)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F252F #257F75
analogous
#7F255C #7F252F #7F4825
triadic
#7F252F #2F7F25 #252F7F
tetradic
#7F252F #5C7F25 #257F75 #48257F
square
#7F252F #5C7F25 #257F75 #48257F
split-complementary
#7F252F #257F48 #255C7F
monochromatic
#20090C #50171D #7F252F #AE3341 #CD525F

Accessibility & contrast

On white

9.51
#7F252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F252F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F252F#FFFFFF#000000##FFFFFF
##7F252F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2F
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#8B0F29
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f252f;
/* rgb */ color: rgb(127, 37, 47);
/* oklch */ color: oklch(40.8% 0.123 18.3);
Tailwind
colors: {
  custom: {
    50: '#aa6667',
    500: '#7f252f',
    950: '#000000',
  },
}
SCSS
$custom: #7f252f;
$custom-light: #aa6667;
$custom-dark: #000000;
JSON
{
  "hex": "#7f252f",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 353.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.1233,
    "h": 18.3
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#7F252F
secondary
#4FB1A6
accent
#DECE4A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F252F

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

Preview Lab → · Contrast checker → · Palette generator →

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