#502D15#502D15

#502D15 is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.6% C 0.063 H 53.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#502D15
RGBrgb(80, 45, 21)
HSLhsl(24, 58%, 20%)
HSVhsv(24, 74%, 31%)
CMYKcmyk(0%, 43.7%, 73.7%, 68.6%)
CIE-LABlab(22.43, 13.64, 22.00)
CIE-LCHlch(22.43, 25.88, 58.21°)
OKLaboklab(33.64% 0.0377 0.0505)
OKLCHoklch(33.64% 0.063 53.2)
XYZxyz(4.3824, 3.6368, 1.1805)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502D15 #153850
analogous
#50151A #502D15 #504B15
triadic
#502D15 #15502D #2D1550
tetradic
#502D15 #1A5015 #153850 #4B1550
square
#502D15 #1A5015 #153850 #4B1550
split-complementary
#502D15 #15504B #151A50
monochromatic
#180E06 #201208 #502D15 #804822 #B1642E

Accessibility & contrast

On white

12.16
#502D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#502D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502D15
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502D15#FFFFFF#000000##FFFFFF
##502D151.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373113
Deuteranopia (green-blind)
#3F3915
Tritanopia (blue-blind)
#582628
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #502d15;
/* rgb */ color: rgb(80, 45, 21);
/* oklch */ color: oklch(33.6% 0.063 53.2);
Tailwind
colors: {
  custom: {
    50: '#856653',
    500: '#502d15',
    950: '#000000',
  },
}
SCSS
$custom: #502d15;
$custom-light: #856653;
$custom-dark: #000000;
JSON
{
  "hex": "#502d15",
  "rgb": {
    "r": 80,
    "g": 45,
    "b": 21
  },
  "hsl": {
    "h": 24.407,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33638,
    "c": 0.06304,
    "h": 53.2
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#502D15
secondary
#396888
accent
#A2E246
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #502D15

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

Preview Lab → · Contrast checker → · Palette generator →

#502D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva