#521234#521234

#521234 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.101 H 352.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#521234
RGBrgb(82, 18, 52)
HSLhsl(328, 64%, 20%)
HSVhsv(328, 78%, 32%)
CMYKcmyk(0%, 78%, 36.6%, 67.8%)
CIE-LABlab(17.80, 32.67, -5.30)
CIE-LCHlch(17.80, 33.10, 350.79°)
OKLaboklab(30.47% 0.1 -0.0137)
OKLCHoklch(30.47% 0.101 352.2)
XYZxyz(4.3161, 2.4749, 3.4986)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521234 #125230
analogous
#501252 #521234 #521214
triadic
#521234 #345212 #123452
tetradic
#521234 #525012 #125230 #121452
square
#521234 #525012 #125230 #121452
split-complementary
#521234 #145212 #125250
monochromatic
#190610 #200714 #521234 #841D54 #B62874

Accessibility & contrast

On white

14.05
#521234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521234
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521234#FFFFFF#000000##FFFFFF
##5212341.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2435
Deuteranopia (green-blind)
#2F3033
Tritanopia (blue-blind)
#590D21
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521234;
/* rgb */ color: rgb(82, 18, 52);
/* oklch */ color: oklch(30.5% 0.101 352.2);
Tailwind
colors: {
  custom: {
    50: '#86566b',
    500: '#521234',
    950: '#000000',
  },
}
SCSS
$custom: #521234;
$custom-light: #86566b;
$custom-dark: #000000;
JSON
{
  "hex": "#521234",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 328.125,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30473,
    "c": 0.1009,
    "h": 352.2
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#521234
secondary
#358B5D
accent
#E78F41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521234

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

Preview Lab → · Contrast checker → · Palette generator →

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