#522338#522338

#522338 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.0% C 0.075 H 353.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#522338
RGBrgb(82, 35, 56)
HSLhsl(333, 40%, 23%)
HSVhsv(333, 57%, 32%)
CMYKcmyk(0%, 57.3%, 31.7%, 67.8%)
CIE-LABlab(21.14, 24.66, -3.12)
CIE-LCHlch(21.14, 24.86, 352.79°)
OKLaboklab(33% 0.0747 -0.0079)
OKLCHoklch(33% 0.075 353.9)
XYZxyz(4.7947, 3.2819, 4.1216)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522338 #23523D
analogous
#52234F #522338 #522523
triadic
#522338 #385223 #233852
tetradic
#522338 #4F5223 #23523D #252352
square
#522338 #4F5223 #23523D #252352
split-complementary
#522338 #235225 #234F52
monochromatic
#15090F #27111B #522338 #7D3555 #A84873

Accessibility & contrast

On white

12.68
#522338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#522338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##522338#FFFFFF#000000##FFFFFF
##5223381.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)
#292E39
Deuteranopia (green-blind)
#363637
Tritanopia (blue-blind)
#58212B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #522338;
/* rgb */ color: rgb(82, 35, 56);
/* oklch */ color: oklch(33.0% 0.075 353.9);
Tailwind
colors: {
  custom: {
    50: '#84606e',
    500: '#522338',
    950: '#000000',
  },
}
SCSS
$custom: #522338;
$custom-light: #84606e;
$custom-dark: #000000;
JSON
{
  "hex": "#522338",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 333.191,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32996,
    "c": 0.07514,
    "h": 353.9
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#522338
secondary
#4B866C
accent
#D09A58
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #522338

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

Preview Lab → · Contrast checker → · Palette generator →

#522338 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva