#52222F#52222F

#52222F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.073 H 5.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#52222F
RGBrgb(82, 34, 47)
HSLhsl(344, 41%, 23%)
HSVhsv(344, 59%, 32%)
CMYKcmyk(0%, 58.5%, 42.7%, 67.8%)
CIE-LABlab(20.61, 23.95, 2.35)
CIE-LCHlch(20.61, 24.06, 5.60°)
OKLaboklab(32.5% 0.0728 0.0064)
OKLCHoklch(32.5% 0.073 5)
XYZxyz(4.5651, 3.1436, 3.0551)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52222F #225245
analogous
#522247 #52222F #522D22
triadic
#52222F #2F5222 #222F52
tetradic
#52222F #475222 #225245 #2D2252
square
#52222F #475222 #225245 #2D2252
split-complementary
#52222F #22522D #224752
monochromatic
#16090C #271016 #52222F #7D3448 #A94661

Accessibility & contrast

On white

12.89
#52222F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#52222F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52222F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52222F#FFFFFF#000000##FFFFFF
##52222F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2F
Deuteranopia (green-blind)
#37352E
Tritanopia (blue-blind)
#591D27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #52222f;
/* rgb */ color: rgb(82, 34, 47);
/* oklch */ color: oklch(32.5% 0.073 5.0);
Tailwind
colors: {
  custom: {
    50: '#855f67',
    500: '#52222f',
    950: '#000000',
  },
}
SCSS
$custom: #52222f;
$custom-light: #855f67;
$custom-dark: #000000;
JSON
{
  "hex": "#52222f",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 47
  },
  "hsl": {
    "h": 343.75,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32498,
    "c": 0.07312,
    "h": 5
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#52222F
secondary
#4A8676
accent
#D1B057
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #52222F

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

Preview Lab → · Contrast checker → · Palette generator →

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