#521027#521027

#521027 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.098 H 4.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#521027
RGBrgb(82, 16, 39)
HSLhsl(339, 67%, 19%)
HSVhsv(339, 80%, 32%)
CMYKcmyk(0%, 80.5%, 52.4%, 67.8%)
CIE-LABlab(17.04, 31.95, 2.89)
CIE-LCHlch(17.04, 32.08, 5.17°)
OKLaboklab(29.76% 0.0977 0.0077)
OKLCHoklch(29.76% 0.098 4.5)
XYZxyz(4.0315, 2.3114, 2.1529)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521027 #10523B
analogous
#521048 #521027 #521A10
triadic
#521027 #275210 #102752
tetradic
#521027 #485210 #10523B #1A1052
square
#521027 #485210 #10523B #1A1052
split-complementary
#521027 #10521A #104852
monochromatic
#1A050C #1F060F #521027 #851A3F #B82458

Accessibility & contrast

On white

14.36
#521027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#521027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521027
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521027#FFFFFF#000000##FFFFFF
##5210271.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202228
Deuteranopia (green-blind)
#312F25
Tritanopia (blue-blind)
#5A041A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521027;
/* rgb */ color: rgb(82, 16, 39);
/* oklch */ color: oklch(29.8% 0.098 4.5);
Tailwind
colors: {
  custom: {
    50: '#875560',
    500: '#521027',
    950: '#000000',
  },
}
SCSS
$custom: #521027;
$custom-light: #875560;
$custom-dark: #000000;
JSON
{
  "hex": "#521027",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 339.091,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29759,
    "c": 0.098,
    "h": 4.5
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#521027
secondary
#328C6C
accent
#EAAE3E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521027

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

Preview Lab → · Contrast checker → · Palette generator →

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