#7F2030#7F2030

#7F2030 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.129 H 15.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7F2030
RGBrgb(127, 32, 48)
HSLhsl(350, 60%, 31%)
HSVhsv(350, 75%, 50%)
CMYKcmyk(0%, 74.8%, 62.2%, 50.2%)
CIE-LABlab(28.80, 41.39, 14.31)
CIE-LCHlch(28.80, 43.79, 19.08°)
OKLaboklab(40.24% 0.124 0.035)
OKLCHoklch(40.24% 0.129 15.8)
XYZxyz(9.8034, 5.7599, 3.3913)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2030 #207F6F
analogous
#7F205F #7F2030 #7F3F20
triadic
#7F2030 #307F20 #20307F
tetradic
#7F2030 #5F7F20 #207F6F #3F207F
square
#7F2030 #5F7F20 #207F6F #3F207F
split-complementary
#7F2030 #207F3F #205F7F
monochromatic
#1D070B #4E141E #7F2030 #B02C42 #D1485F

Accessibility & contrast

On white

9.76
#7F2030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2030
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2030#FFFFFF#000000##FFFFFF
##7F20301.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393730
Deuteranopia (green-blind)
#524B2D
Tritanopia (blue-blind)
#8B0427
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2030;
/* rgb */ color: rgb(127, 32, 48);
/* oklch */ color: oklch(40.2% 0.129 15.8);
Tailwind
colors: {
  custom: {
    50: '#aa6368',
    500: '#7f2030',
    950: '#000000',
  },
}
SCSS
$custom: #7f2030;
$custom-light: #aa6368;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2030",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 48
  },
  "hsl": {
    "h": 349.895,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.12887,
    "h": 15.8
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#7F2030
secondary
#49B2A0
accent
#E3C845
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2030

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

Preview Lab → · Contrast checker → · Palette generator →

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