#802938#802938

#802938 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.120 H 13.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#802938
RGBrgb(128, 41, 56)
HSLhsl(350, 51%, 33%)
HSVhsv(350, 68%, 50%)
CMYKcmyk(0%, 68%, 56.3%, 49.8%)
CIE-LABlab(30.55, 38.58, 11.42)
CIE-LCHlch(30.55, 40.23, 16.49°)
OKLaboklab(41.64% 0.1163 0.0287)
OKLCHoklch(41.64% 0.12 13.8)
XYZxyz(10.4098, 6.4620, 4.4397)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802938 #298071
analogous
#802963 #802938 #804529
triadic
#802938 #388029 #293880
tetradic
#802938 #638029 #298071 #452980
square
#802938 #638029 #298071 #452980
split-complementary
#802938 #298045 #296380
monochromatic
#230B0F #521A24 #802938 #AE384C #CA596D

Accessibility & contrast

On white

9.16
#802938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#802938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802938
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802938#FFFFFF#000000##FFFFFF
##8029381.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3D38
Deuteranopia (green-blind)
#544F36
Tritanopia (blue-blind)
#8C192F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802938;
/* rgb */ color: rgb(128, 41, 56);
/* oklch */ color: oklch(41.6% 0.120 13.8);
Tailwind
colors: {
  custom: {
    50: '#aa686e',
    500: '#802938',
    950: '#000000',
  },
}
SCSS
$custom: #802938;
$custom-light: #aa686e;
$custom-dark: #000000;
JSON
{
  "hex": "#802938",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 349.655,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41635,
    "c": 0.11977,
    "h": 13.8
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#802938
secondary
#55AFA0
accent
#DBC24D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #802938

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

Preview Lab → · Contrast checker → · Palette generator →

#802938 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva