#52270D#52270D

#52270D is a dark, moderate orange. Relative luminance 0.033; OKLCH L 32.7% C 0.074 H 48.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#52270D
RGBrgb(82, 39, 13)
HSLhsl(23, 73%, 19%)
HSVhsv(23, 84%, 32%)
CMYKcmyk(0%, 52.4%, 84.1%, 67.8%)
CIE-LABlab(21.11, 17.90, 25.14)
CIE-LCHlch(21.11, 30.86, 54.55°)
OKLaboklab(32.66% 0.0489 0.0556)
OKLCHoklch(32.66% 0.074 48.7)
XYZxyz(4.2782, 3.2744, 0.7874)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52270D #0D3852
analogous
#520D15 #52270D #52490D
triadic
#52270D #0D5227 #270D52
tetradic
#52270D #15520D #0D3852 #490D52
square
#52270D #15520D #0D3852 #490D52
split-complementary
#52270D #0D5249 #0D1552
monochromatic
#1A0D04 #1D0E05 #52270D #874015 #BC591E

Accessibility & contrast

On white

12.69
#52270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#52270D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52270D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52270D#FFFFFF#000000##FFFFFF
##52270D1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#3E360C
Tritanopia (blue-blind)
#5B1E22
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52270d;
/* rgb */ color: rgb(82, 39, 13);
/* oklch */ color: oklch(32.7% 0.074 48.7);
Tailwind
colors: {
  custom: {
    50: '#87624d',
    500: '#52270d',
    950: '#000000',
  },
}
SCSS
$custom: #52270d;
$custom-light: #87624d;
$custom-dark: #000000;
JSON
{
  "hex": "#52270d",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 22.609,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.07403,
    "h": 48.7
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#52270D
secondary
#2E698D
accent
#AAEF38
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #52270D

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

Preview Lab → · Contrast checker → · Palette generator →

#52270D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva