#511F3B#511F3B

#511F3B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.083 H 348.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#511F3B
RGBrgb(81, 31, 59)
HSLhsl(326, 45%, 22%)
HSVhsv(326, 62%, 32%)
CMYKcmyk(0%, 61.7%, 27.2%, 68.2%)
CIE-LABlab(20.23, 27.03, -6.58)
CIE-LCHlch(20.23, 27.82, 346.31°)
OKLaboklab(32.32% 0.0815 -0.0173)
OKLCHoklch(32.32% 0.083 348)
XYZxyz(4.6729, 3.0455, 4.4786)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F3B #1F5135
analogous
#4E1F51 #511F3B #511F22
triadic
#511F3B #3B511F #1F3B51
tetradic
#511F3B #514E1F #1F5135 #1F2251
square
#511F3B #514E1F #1F5135 #1F2251
split-complementary
#511F3B #22511F #1F514E
monochromatic
#160810 #250E1B #511F3B #7D305B #AA417B

Accessibility & contrast

On white

13.05
#511F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#511F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F3B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F3B#FFFFFF#000000##FFFFFF
##511F3B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3C
Deuteranopia (green-blind)
#32343A
Tritanopia (blue-blind)
#571E2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511f3b;
/* rgb */ color: rgb(81, 31, 59);
/* oklch */ color: oklch(32.3% 0.083 348.0);
Tailwind
colors: {
  custom: {
    50: '#845d70',
    500: '#511f3b',
    950: '#000000',
  },
}
SCSS
$custom: #511f3b;
$custom-light: #845d70;
$custom-dark: #000000;
JSON
{
  "hex": "#511f3b",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 326.4,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32318,
    "c": 0.08327,
    "h": 348
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#511F3B
secondary
#468662
accent
#D48C53
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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