#7F2125#7F2125

#7F2125 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.128 H 22.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7F2125
RGBrgb(127, 33, 37)
HSLhsl(357, 59%, 31%)
HSVhsv(357, 74%, 50%)
CMYKcmyk(0%, 74%, 70.9%, 50.2%)
CIE-LABlab(28.73, 40.29, 21.44)
CIE-LCHlch(28.73, 45.64, 28.02°)
OKLaboklab(40.12% 0.1182 0.05)
OKLCHoklch(40.12% 0.128 22.9)
XYZxyz(9.6312, 5.7347, 2.3497)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2125 #217F7B
analogous
#7F2154 #7F2125 #7F4C21
triadic
#7F2125 #257F21 #21257F
tetradic
#7F2125 #547F21 #217F7B #4C217F
square
#7F2125 #547F21 #217F7B #4C217F
split-complementary
#7F2125 #217F4C #21547F
monochromatic
#1E0809 #4E1417 #7F2125 #B02E33 #D04A50

Accessibility & contrast

On white

9.78
#7F2125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F2125 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2125
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2125#FFFFFF#000000##FFFFFF
##7F21251.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3724
Deuteranopia (green-blind)
#534B22
Tritanopia (blue-blind)
#8C0123
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2125;
/* rgb */ color: rgb(127, 33, 37);
/* oklch */ color: oklch(40.1% 0.128 22.9);
Tailwind
colors: {
  custom: {
    50: '#ab645f',
    500: '#7f2125',
    950: '#000000',
  },
}
SCSS
$custom: #7f2125;
$custom-light: #ab645f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2125",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 37
  },
  "hsl": {
    "h": 357.447,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.12829,
    "h": 22.9
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#7F2125
secondary
#4AB2AD
accent
#E2DB46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2125

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

Preview Lab → · Contrast checker → · Palette generator →

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