#511525#511525

#511525 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.090 H 8.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#511525
RGBrgb(81, 21, 37)
HSLhsl(344, 59%, 20%)
HSVhsv(344, 74%, 32%)
CMYKcmyk(0%, 74.1%, 54.3%, 68.2%)
CIE-LABlab(17.55, 29.24, 5.02)
CIE-LCHlch(17.55, 29.66, 9.74°)
OKLaboklab(30.08% 0.0889 0.013)
OKLCHoklch(30.08% 0.09 8.3)
XYZxyz(3.9958, 2.4198, 2.0066)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511525 #155141
analogous
#511543 #511525 #512315
triadic
#511525 #255115 #152551
tetradic
#511525 #435115 #155141 #231551
square
#511525 #435115 #155141 #231551
split-complementary
#511525 #155123 #154351
monochromatic
#18060B #20080F #511525 #82223B #B22E51

Accessibility & contrast

On white

14.15
#511525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511525 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511525
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511525#FFFFFF#000000##FFFFFF
##5115251.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232325
Deuteranopia (green-blind)
#322F24
Tritanopia (blue-blind)
#590B1B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511525;
/* rgb */ color: rgb(81, 21, 37);
/* oklch */ color: oklch(30.1% 0.090 8.3);
Tailwind
colors: {
  custom: {
    50: '#86575f',
    500: '#511525',
    950: '#000000',
  },
}
SCSS
$custom: #511525;
$custom-light: #86575f;
$custom-dark: #000000;
JSON
{
  "hex": "#511525",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 37
  },
  "hsl": {
    "h": 344,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30076,
    "c": 0.08986,
    "h": 8.3
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#511525
secondary
#398974
accent
#E2B846
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511525

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

Preview Lab → · Contrast checker → · Palette generator →

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