#7F1825#7F1825

#7F1825 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 20.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7F1825
RGBrgb(127, 24, 37)
HSLhsl(352, 68%, 30%)
HSVhsv(352, 81%, 50%)
CMYKcmyk(0%, 81.1%, 70.9%, 50.2%)
CIE-LABlab(27.57, 43.52, 20.02)
CIE-LCHlch(27.57, 47.91, 24.71°)
OKLaboklab(39.26% 0.1285 0.0468)
OKLCHoklch(39.26% 0.137 20)
XYZxyz(9.4140, 5.3003, 2.2773)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1825 #187F72
analogous
#7F1859 #7F1825 #7F3E18
triadic
#7F1825 #257F18 #18257F
tetradic
#7F1825 #597F18 #187F72 #3E187F
square
#7F1825 #597F18 #187F72 #3E187F
split-complementary
#7F1825 #187F3E #18597F
monochromatic
#1A0507 #4C0E16 #7F1825 #B22234 #D9384C

Accessibility & contrast

On white

10.20
#7F1825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1825 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1825
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1825#FFFFFF#000000##FFFFFF
##7F18251.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373325
Deuteranopia (green-blind)
#514922
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1825;
/* rgb */ color: rgb(127, 24, 37);
/* oklch */ color: oklch(39.3% 0.137 20.0);
Tailwind
colors: {
  custom: {
    50: '#ab605f',
    500: '#7f1825',
    950: '#000000',
  },
}
SCSS
$custom: #7f1825;
$custom-light: #ab605f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1825",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 37
  },
  "hsl": {
    "h": 352.427,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.13672,
    "h": 20
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#7F1825
secondary
#3FB3A5
accent
#EBD53D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1825

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

Preview Lab → · Contrast checker → · Palette generator →

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