#7F252D#7F252D

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

Color values

HEX#7F252D
RGBrgb(127, 37, 45)
HSLhsl(355, 55%, 32%)
HSVhsv(355, 71%, 50%)
CMYKcmyk(0%, 70.9%, 64.6%, 50.2%)
CIE-LABlab(29.48, 39.14, 17.18)
CIE-LCHlch(29.48, 42.74, 23.70°)
OKLaboklab(40.72% 0.1162 0.0414)
OKLCHoklch(40.72% 0.123 19.6)
XYZxyz(9.8886, 6.0260, 3.1245)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F252D #257F77
analogous
#7F255A #7F252D #7F4A25
triadic
#7F252D #2D7F25 #252D7F
tetradic
#7F252D #5A7F25 #257F77 #4A257F
square
#7F252D #5A7F25 #257F77 #4A257F
split-complementary
#7F252D #257F4A #255A7F
monochromatic
#20090B #50171C #7F252D #AE333E #CD525D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F252D#FFFFFF#000000##FFFFFF
##7F252D1.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)
#3D392D
Deuteranopia (green-blind)
#544C2B
Tritanopia (blue-blind)
#8C0E29
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f252d;
/* rgb */ color: rgb(127, 37, 45);
/* oklch */ color: oklch(40.7% 0.123 19.6);
Tailwind
colors: {
  custom: {
    50: '#aa6665',
    500: '#7f252d',
    950: '#000000',
  },
}
SCSS
$custom: #7f252d;
$custom-light: #aa6665;
$custom-dark: #000000;
JSON
{
  "hex": "#7f252d",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 354.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40723,
    "c": 0.12338,
    "h": 19.6
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#7F252D
secondary
#4FB1A8
accent
#DED14A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F252D

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

Preview Lab → · Contrast checker → · Palette generator →

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