#7F232F#7F232F

#7F232F is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.126 H 17.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7F232F
RGBrgb(127, 35, 47)
HSLhsl(352, 57%, 32%)
HSVhsv(352, 72%, 50%)
CMYKcmyk(0%, 72.4%, 63%, 50.2%)
CIE-LABlab(29.21, 40.12, 15.52)
CIE-LCHlch(29.21, 43.02, 21.15°)
OKLaboklab(40.54% 0.1198 0.0378)
OKLCHoklch(40.54% 0.126 17.5)
XYZxyz(9.8675, 5.9207, 3.3120)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F232F #237F73
analogous
#7F235D #7F232F #7F4523
triadic
#7F232F #2F7F23 #232F7F
tetradic
#7F232F #5D7F23 #237F73 #45237F
square
#7F232F #5D7F23 #237F73 #45237F
split-complementary
#7F232F #237F45 #235D7F
monochromatic
#1F090B #4F161D #7F232F #AF3041 #CE4E5F

Accessibility & contrast

On white

9.62
#7F232F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F232F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F232F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F232F#FFFFFF#000000##FFFFFF
##7F232F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B392F
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#8B0B28
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f232f;
/* rgb */ color: rgb(127, 35, 47);
/* oklch */ color: oklch(40.5% 0.126 17.5);
Tailwind
colors: {
  custom: {
    50: '#aa6567',
    500: '#7f232f',
    950: '#000000',
  },
}
SCSS
$custom: #7f232f;
$custom-light: #aa6567;
$custom-dark: #000000;
JSON
{
  "hex": "#7f232f",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 47
  },
  "hsl": {
    "h": 352.174,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40537,
    "c": 0.12556,
    "h": 17.5
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#7F232F
secondary
#4CB1A4
accent
#E0CC48
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F232F

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

Preview Lab → · Contrast checker → · Palette generator →

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