#52270F#52270F

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

Color values

HEX#52270F
RGBrgb(82, 39, 15)
HSLhsl(21, 69%, 19%)
HSVhsv(21, 82%, 32%)
CMYKcmyk(0%, 52.4%, 81.7%, 67.8%)
CIE-LABlab(21.13, 18.00, 24.15)
CIE-LCHlch(21.13, 30.12, 53.30°)
OKLaboklab(32.68% 0.0496 0.0538)
OKLCHoklch(32.68% 0.073 47.3)
XYZxyz(4.2918, 3.2799, 0.8589)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52270F #0F3A52
analogous
#520F19 #52270F #52490F
triadic
#52270F #0F5227 #270F52
tetradic
#52270F #19520F #0F3A52 #490F52
square
#52270F #19520F #0F3A52 #490F52
split-complementary
#52270F #0F5249 #0F1952
monochromatic
#1A0C05 #1E0E06 #52270F #864018 #B95822

Accessibility & contrast

On white

12.68
#52270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#52270F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52270F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52270F#FFFFFF#000000##FFFFFF
##52270F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52270f;
/* rgb */ color: rgb(82, 39, 15);
/* oklch */ color: oklch(32.7% 0.073 47.3);
Tailwind
colors: {
  custom: {
    50: '#87624e',
    500: '#52270f',
    950: '#000000',
  },
}
SCSS
$custom: #52270f;
$custom-light: #87624e;
$custom-dark: #000000;
JSON
{
  "hex": "#52270f",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 21.493,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32682,
    "c": 0.07315,
    "h": 47.3
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#52270F
secondary
#316B8C
accent
#ADEC3C
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #52270F

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

Preview Lab → · Contrast checker → · Palette generator →

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