#52222B#52222B

#52222B is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.072 H 10.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#52222B
RGBrgb(82, 34, 43)
HSLhsl(349, 41%, 23%)
HSVhsv(349, 59%, 32%)
CMYKcmyk(0%, 58.5%, 47.6%, 67.8%)
CIE-LABlab(20.49, 23.44, 4.96)
CIE-LCHlch(20.49, 23.95, 11.95°)
OKLaboklab(32.37% 0.0711 0.0129)
OKLCHoklch(32.37% 0.072 10.3)
XYZxyz(4.4880, 3.1128, 2.6495)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52222B #225249
analogous
#522243 #52222B #523122
triadic
#52222B #2B5222 #222B52
tetradic
#52222B #435222 #225249 #312252
square
#52222B #435222 #225249 #312252
split-complementary
#52222B #225231 #224352
monochromatic
#16090B #271014 #52222B #7D3442 #A94658

Accessibility & contrast

On white

12.94
#52222B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#52222B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52222B
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52222B#FFFFFF#000000##FFFFFF
##52222B1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B2B
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#591C25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52222b;
/* rgb */ color: rgb(82, 34, 43);
/* oklch */ color: oklch(32.4% 0.072 10.3);
Tailwind
colors: {
  custom: {
    50: '#855f64',
    500: '#52222b',
    950: '#000000',
  },
}
SCSS
$custom: #52222b;
$custom-light: #855f64;
$custom-dark: #000000;
JSON
{
  "hex": "#52222b",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 43
  },
  "hsl": {
    "h": 348.75,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32369,
    "c": 0.07224,
    "h": 10.3
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#52222B
secondary
#4A867B
accent
#D1BA57
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #52222B

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

Preview Lab → · Contrast checker → · Palette generator →

#52222B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva