#802F40#802F40

#802F40 is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.6% C 0.113 H 10.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#802F40
RGBrgb(128, 47, 64)
HSLhsl(347, 46%, 34%)
HSVhsv(347, 63%, 50%)
CMYKcmyk(0%, 63.3%, 50%, 49.8%)
CIE-LABlab(31.79, 36.51, 7.90)
CIE-LCHlch(31.79, 37.35, 12.21°)
OKLaboklab(42.63% 0.1107 0.0203)
OKLCHoklch(42.63% 0.113 10.4)
XYZxyz(10.8448, 6.9937, 5.6283)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F40 #2F806F
analogous
#802F69 #802F40 #80462F
triadic
#802F40 #40802F #2F4080
tetradic
#802F40 #69802F #2F806F #462F80
square
#802F40 #69802F #2F806F #462F80
split-complementary
#802F40 #2F8046 #2F6980
monochromatic
#260E13 #531F2A #802F40 #AD3F56 #C66378

Accessibility & contrast

On white

8.76
#802F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#802F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F40
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F40#FFFFFF#000000##FFFFFF
##802F401.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414140
Deuteranopia (green-blind)
#56513E
Tritanopia (blue-blind)
#8B2336
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802f40;
/* rgb */ color: rgb(128, 47, 64);
/* oklch */ color: oklch(42.6% 0.113 10.4);
Tailwind
colors: {
  custom: {
    50: '#a96c74',
    500: '#802f40',
    950: '#000000',
  },
}
SCSS
$custom: #802f40;
$custom-light: #a96c74;
$custom-dark: #000000;
JSON
{
  "hex": "#802f40",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 347.407,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.11255,
    "h": 10.4
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#802F40
secondary
#5EAD9C
accent
#D6BA52
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #802F40

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

Preview Lab → · Contrast checker → · Palette generator →

#802F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva