#7F2123#7F2123

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

Color values

HEX#7F2123
RGBrgb(127, 33, 35)
HSLhsl(359, 59%, 31%)
HSVhsv(359, 74%, 50%)
CMYKcmyk(0%, 74%, 72.4%, 50.2%)
CIE-LABlab(28.70, 40.18, 22.69)
CIE-LCHlch(28.70, 46.14, 29.45°)
OKLaboklab(40.09% 0.1174 0.0524)
OKLCHoklch(40.09% 0.129 24.1)
XYZxyz(9.6007, 5.7225, 2.1888)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2123 #217F7D
analogous
#7F2152 #7F2123 #7F4E21
triadic
#7F2123 #237F21 #21237F
tetradic
#7F2123 #527F21 #217F7D #4E217F
square
#7F2123 #527F21 #217F7D #4E217F
split-complementary
#7F2123 #217F4E #21527F
monochromatic
#1E0808 #4E1416 #7F2123 #B02E30 #D04A4D

Accessibility & contrast

On white

9.79
#7F2123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F2123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2123
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2123#FFFFFF#000000##FFFFFF
##7F21231.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3722
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2123;
/* rgb */ color: rgb(127, 33, 35);
/* oklch */ color: oklch(40.1% 0.129 24.1);
Tailwind
colors: {
  custom: {
    50: '#ab645e',
    500: '#7f2123',
    950: '#000000',
  },
}
SCSS
$custom: #7f2123;
$custom-light: #ab645e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2123",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 35
  },
  "hsl": {
    "h": 358.723,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.12852,
    "h": 24.1
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#7F2123
secondary
#4AB2AF
accent
#E2DF46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2123

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

Preview Lab → · Contrast checker → · Palette generator →

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