#511B33#511B33

#511B33 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.4% C 0.086 H 355.5°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#511B33
RGBrgb(81, 27, 51)
HSLhsl(333, 50%, 21%)
HSVhsv(333, 67%, 32%)
CMYKcmyk(0%, 66.7%, 37%, 68.2%)
CIE-LABlab(19.11, 27.97, -2.67)
CIE-LCHlch(19.11, 28.09, 354.55°)
OKLaboklab(31.39% 0.0853 -0.0067)
OKLCHoklch(31.39% 0.086 355.5)
XYZxyz(4.3830, 2.7727, 3.4357)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B33 #1B5139
analogous
#511B4E #511B33 #511E1B
triadic
#511B33 #33511B #1B3351
tetradic
#511B33 #4E511B #1B5139 #1E1B51
square
#511B33 #4E511B #1B5139 #1E1B51
split-complementary
#511B33 #1B511E #1B4E51
monochromatic
#17080E #230C16 #511B33 #7F2A50 #AD3A6D

Accessibility & contrast

On white

13.51
#511B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B33
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B33#FFFFFF#000000##FFFFFF
##511B331.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242834
Deuteranopia (green-blind)
#323232
Tritanopia (blue-blind)
#581724
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b33;
/* rgb */ color: rgb(81, 27, 51);
/* oklch */ color: oklch(31.4% 0.086 355.5);
Tailwind
colors: {
  custom: {
    50: '#845b6a',
    500: '#511b33',
    950: '#000000',
  },
}
SCSS
$custom: #511b33;
$custom-light: #845b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#511b33",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 333.333,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31386,
    "c": 0.08553,
    "h": 355.5
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#511B33
secondary
#418768
accent
#DA9C4E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511B33

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

Preview Lab → · Contrast checker → · Palette generator →

#511B33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva