#903940#903940

#903940 is a mid, moderate red. Relative luminance 0.092; OKLCH L 46.6% C 0.118 H 18.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#903940
RGBrgb(144, 57, 64)
HSLhsl(355, 43%, 39%)
HSVhsv(355, 60%, 56%)
CMYKcmyk(0%, 60.4%, 55.6%, 43.5%)
CIE-LABlab(36.42, 37.43, 14.70)
CIE-LCHlch(36.42, 40.21, 21.44°)
OKLaboklab(46.64% 0.1121 0.0366)
OKLCHoklch(46.64% 0.118 18.1)
XYZxyz(13.8913, 9.2274, 5.8990)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903940 #399089
analogous
#90396C #903940 #905D39
triadic
#903940 #409039 #394090
tetradic
#903940 #6C9039 #399089 #5D3990
square
#903940 #6C9039 #399089 #5D3990
split-complementary
#903940 #39905D #396C90
monochromatic
#381619 #64282D #903940 #B94D56 #CA7980

Accessibility & contrast

On white

7.38
#903940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#903940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #903940
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903940#FFFFFF#000000##FFFFFF
##9039401.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#635C3E
Tritanopia (blue-blind)
#9D2B3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #903940;
/* rgb */ color: rgb(144, 57, 64);
/* oklch */ color: oklch(46.6% 0.118 18.1);
Tailwind
colors: {
  custom: {
    50: '#b57374',
    500: '#903940',
    950: '#000000',
  },
}
SCSS
$custom: #903940;
$custom-light: #b57374;
$custom-dark: #000000;
JSON
{
  "hex": "#903940",
  "rgb": {
    "r": 144,
    "g": 57,
    "b": 64
  },
  "hsl": {
    "h": 355.172,
    "s": 43.284,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46635,
    "c": 0.11795,
    "h": 18.1
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#903940
secondary
#71B3AE
accent
#D3C955
background
#FBF7F7
surface
#F6EDED
border
#D0C8C8
text
#120808
muted
#817B7B

Preview Lab

Preview with #903940

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

Preview Lab → · Contrast checker → · Palette generator →

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