#511235#511235

#511235 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.101 H 350.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#511235
RGBrgb(81, 18, 53)
HSLhsl(327, 64%, 19%)
HSVhsv(327, 78%, 32%)
CMYKcmyk(0%, 77.8%, 34.6%, 68.2%)
CIE-LABlab(17.64, 32.49, -6.27)
CIE-LCHlch(17.64, 33.09, 349.07°)
OKLaboklab(30.33% 0.0992 -0.0163)
OKLCHoklch(30.33% 0.101 350.7)
XYZxyz(4.2525, 2.4395, 3.6144)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511235 #12512E
analogous
#4E1251 #511235 #511216
triadic
#511235 #355112 #123551
tetradic
#511235 #514E12 #12512E #121651
square
#511235 #514E12 #12512E #121651
split-complementary
#511235 #165112 #12514E
monochromatic
#190610 #1F0714 #511235 #831D56 #B52877

Accessibility & contrast

On white

14.11
#511235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511235
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511235#FFFFFF#000000##FFFFFF
##5112351.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2436
Deuteranopia (green-blind)
#2E2F34
Tritanopia (blue-blind)
#580E21
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511235;
/* rgb */ color: rgb(81, 18, 53);
/* oklch */ color: oklch(30.3% 0.101 350.7);
Tailwind
colors: {
  custom: {
    50: '#85566c',
    500: '#511235',
    950: '#000000',
  },
}
SCSS
$custom: #511235;
$custom-light: #85566c;
$custom-dark: #000000;
JSON
{
  "hex": "#511235",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 326.667,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3033,
    "c": 0.10056,
    "h": 350.7
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#511235
secondary
#358A5B
accent
#E78B41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511235

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

Preview Lab → · Contrast checker → · Palette generator →

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