#52252D#52252D

#52252D is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.9% C 0.068 H 10.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#52252D
RGBrgb(82, 37, 45)
HSLhsl(349, 38%, 23%)
HSVhsv(349, 55%, 32%)
CMYKcmyk(0%, 54.9%, 45.1%, 67.8%)
CIE-LABlab(21.23, 21.92, 4.62)
CIE-LCHlch(21.23, 22.41, 11.91°)
OKLaboklab(32.95% 0.0665 0.0121)
OKLCHoklch(32.95% 0.068 10.3)
XYZxyz(4.6152, 3.3069, 2.8774)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52252D #25524A
analogous
#522543 #52252D #523325
triadic
#52252D #2D5225 #252D52
tetradic
#52252D #435225 #25524A #332552
square
#52252D #435225 #25524A #332552
split-complementary
#52252D #255233 #254352
monochromatic
#150A0C #281216 #52252D #7C3844 #A64B5B

Accessibility & contrast

On white

12.64
#52252D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#52252D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52252D
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52252D#FFFFFF#000000##FFFFFF
##52252D1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#39362C
Tritanopia (blue-blind)
#592028
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52252d;
/* rgb */ color: rgb(82, 37, 45);
/* oklch */ color: oklch(32.9% 0.068 10.3);
Tailwind
colors: {
  custom: {
    50: '#856165',
    500: '#52252d',
    950: '#000000',
  },
}
SCSS
$custom: #52252d;
$custom-light: #856165;
$custom-dark: #000000;
JSON
{
  "hex": "#52252d",
  "rgb": {
    "r": 82,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 349.333,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.06758,
    "h": 10.3
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#52252D
secondary
#4D857B
accent
#CEB95A
background
#F8F5F6
surface
#EFEAEB
border
#CAC6C6
text
#0B0505
muted
#7C797A

Preview Lab

Preview with #52252D

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

Preview Lab → · Contrast checker → · Palette generator →

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