#52122F#52122F

#52122F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.098 H 357.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#52122F
RGBrgb(82, 18, 47)
HSLhsl(333, 64%, 20%)
HSVhsv(333, 78%, 32%)
CMYKcmyk(0%, 78%, 42.7%, 67.8%)
CIE-LABlab(17.61, 32.03, -2.03)
CIE-LCHlch(17.61, 32.10, 356.37°)
OKLaboklab(30.26% 0.0983 -0.0049)
OKLCHoklch(30.26% 0.098 357.1)
XYZxyz(4.2094, 2.4322, 2.9366)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52122F #125235
analogous
#52124F #52122F #521512
triadic
#52122F #2F5212 #122F52
tetradic
#52122F #4F5212 #125235 #151252
square
#52122F #4F5212 #125235 #151252
split-complementary
#52122F #125215 #124F52
monochromatic
#19060E #200712 #52122F #841D4C #B62869

Accessibility & contrast

On white

14.13
#52122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#52122F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52122F
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52122F#FFFFFF#000000##FFFFFF
##52122F1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#30302E
Tritanopia (blue-blind)
#590B1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52122f;
/* rgb */ color: rgb(82, 18, 47);
/* oklch */ color: oklch(30.3% 0.098 357.1);
Tailwind
colors: {
  custom: {
    50: '#865667',
    500: '#52122f',
    950: '#000000',
  },
}
SCSS
$custom: #52122f;
$custom-light: #865667;
$custom-dark: #000000;
JSON
{
  "hex": "#52122f",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 332.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30265,
    "c": 0.09837,
    "h": 357.1
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#52122F
secondary
#358B64
accent
#E79C41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52122F

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

Preview Lab → · Contrast checker → · Palette generator →

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