#7F232B#7F232B

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

Color values

HEX#7F232B
RGBrgb(127, 35, 43)
HSLhsl(355, 57%, 32%)
HSVhsv(355, 72%, 50%)
CMYKcmyk(0%, 72.4%, 66.1%, 50.2%)
CIE-LABlab(29.13, 39.84, 18.04)
CIE-LCHlch(29.13, 43.74, 24.36°)
OKLaboklab(40.45% 0.1181 0.0432)
OKLCHoklch(40.45% 0.126 20.1)
XYZxyz(9.7905, 5.8899, 2.9064)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F232B #237F77
analogous
#7F2359 #7F232B #7F4923
triadic
#7F232B #2B7F23 #232B7F
tetradic
#7F232B #597F23 #237F77 #49237F
square
#7F232B #597F23 #237F77 #49237F
split-complementary
#7F232B #237F49 #23597F
monochromatic
#1F090B #4F161B #7F232B #AF303B #CE4E59

Accessibility & contrast

On white

9.64
#7F232B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F232B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F232B#FFFFFF#000000##FFFFFF
##7F232B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C382B
Deuteranopia (green-blind)
#534C28
Tritanopia (blue-blind)
#8C0827
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f232b;
/* rgb */ color: rgb(127, 35, 43);
/* oklch */ color: oklch(40.5% 0.126 20.1);
Tailwind
colors: {
  custom: {
    50: '#aa6564',
    500: '#7f232b',
    950: '#000000',
  },
}
SCSS
$custom: #7f232b;
$custom-light: #aa6564;
$custom-dark: #000000;
JSON
{
  "hex": "#7f232b",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 43
  },
  "hsl": {
    "h": 354.783,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40453,
    "c": 0.1257,
    "h": 20.1
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#7F232B
secondary
#4CB1A9
accent
#E0D348
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F232B

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

Preview Lab → · Contrast checker → · Palette generator →

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