#7F2231#7F2231

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

Color values

HEX#7F2231
RGBrgb(127, 34, 49)
HSLhsl(350, 58%, 32%)
HSVhsv(350, 73%, 50%)
CMYKcmyk(0%, 73.2%, 61.4%, 50.2%)
CIE-LABlab(29.11, 40.67, 14.06)
CIE-LCHlch(29.11, 43.03, 19.07°)
OKLaboklab(40.47% 0.1219 0.0345)
OKLCHoklch(40.47% 0.127 15.8)
XYZxyz(9.8798, 5.8792, 3.5197)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2231 #227F70
analogous
#7F2260 #7F2231 #7F4222
triadic
#7F2231 #317F22 #22317F
tetradic
#7F2231 #607F22 #227F70 #42227F
square
#7F2231 #607F22 #227F70 #42227F
split-complementary
#7F2231 #227F42 #22607F
monochromatic
#1E080C #4F151E #7F2231 #AF2F44 #CF4C61

Accessibility & contrast

On white

9.65
#7F2231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2231
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2231#FFFFFF#000000##FFFFFF
##7F22311.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#524C2F
Tritanopia (blue-blind)
#8B0928
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2231;
/* rgb */ color: rgb(127, 34, 49);
/* oklch */ color: oklch(40.5% 0.127 15.8);
Tailwind
colors: {
  custom: {
    50: '#aa6468',
    500: '#7f2231',
    950: '#000000',
  },
}
SCSS
$custom: #7f2231;
$custom-light: #aa6468;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2231",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 350.323,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.1267,
    "h": 15.8
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#7F2231
secondary
#4BB2A1
accent
#E1C847
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2231

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

Preview Lab → · Contrast checker → · Palette generator →

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