#521438#521438

#521438 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.100 H 348.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#521438
RGBrgb(82, 20, 56)
HSLhsl(325, 61%, 20%)
HSVhsv(325, 76%, 32%)
CMYKcmyk(0%, 75.6%, 31.7%, 67.8%)
CIE-LABlab(18.28, 32.38, -7.41)
CIE-LCHlch(18.28, 33.22, 347.11°)
OKLaboklab(30.88% 0.0985 -0.0194)
OKLCHoklch(30.88% 0.1 348.8)
XYZxyz(4.4439, 2.5802, 4.0046)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521438 #14522E
analogous
#4D1452 #521438 #521419
triadic
#521438 #385214 #143852
tetradic
#521438 #524D14 #14522E #141952
square
#521438 #524D14 #14522E #141952
split-complementary
#521438 #195214 #14524D
monochromatic
#190611 #210816 #521438 #83205A #B42C7B

Accessibility & contrast

On white

13.85
#521438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#521438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521438
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521438#FFFFFF#000000##FFFFFF
##5214381.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2639
Deuteranopia (green-blind)
#2F3137
Tritanopia (blue-blind)
#581124
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521438;
/* rgb */ color: rgb(82, 20, 56);
/* oklch */ color: oklch(30.9% 0.100 348.8);
Tailwind
colors: {
  custom: {
    50: '#85576e',
    500: '#521438',
    950: '#000000',
  },
}
SCSS
$custom: #521438;
$custom-light: #85576e;
$custom-dark: #000000;
JSON
{
  "hex": "#521438",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 325.161,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.10043,
    "h": 348.8
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#521438
secondary
#388A5A
accent
#E48744
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521438

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

Preview Lab → · Contrast checker → · Palette generator →

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