#7F252C#7F252C

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

Color values

HEX#7F252C
RGBrgb(127, 37, 44)
HSLhsl(355, 55%, 32%)
HSVhsv(355, 71%, 50%)
CMYKcmyk(0%, 70.9%, 65.4%, 50.2%)
CIE-LABlab(29.46, 39.07, 17.81)
CIE-LCHlch(29.46, 42.94, 24.50°)
OKLaboklab(40.7% 0.1158 0.0427)
OKLCHoklch(40.7% 0.123 20.3)
XYZxyz(9.8696, 6.0184, 3.0244)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F252C #257F78
analogous
#7F2559 #7F252C #7F4B25
triadic
#7F252C #2C7F25 #252C7F
tetradic
#7F252C #597F25 #257F78 #4B257F
square
#7F252C #597F25 #257F78 #4B257F
split-complementary
#7F252C #257F4B #25597F
monochromatic
#20090B #50171C #7F252C #AE333C #CD525B

Accessibility & contrast

On white

9.53
#7F252C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F252C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F252C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F252C#FFFFFF#000000##FFFFFF
##7F252C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392C
Deuteranopia (green-blind)
#544C2A
Tritanopia (blue-blind)
#8C0E28
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f252c;
/* rgb */ color: rgb(127, 37, 44);
/* oklch */ color: oklch(40.7% 0.123 20.3);
Tailwind
colors: {
  custom: {
    50: '#aa6665',
    500: '#7f252c',
    950: '#000000',
  },
}
SCSS
$custom: #7f252c;
$custom-light: #aa6665;
$custom-dark: #000000;
JSON
{
  "hex": "#7f252c",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 44
  },
  "hsl": {
    "h": 355.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40703,
    "c": 0.12343,
    "h": 20.3
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#7F252C
secondary
#4FB1A9
accent
#DED34A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F252C

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

Preview Lab → · Contrast checker → · Palette generator →

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