#511F2D#511F2D

#511F2D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.8% C 0.076 H 4.9°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#511F2D
RGBrgb(81, 31, 45)
HSLhsl(343, 45%, 22%)
HSVhsv(343, 62%, 32%)
CMYKcmyk(0%, 61.7%, 44.4%, 68.2%)
CIE-LABlab(19.72, 24.99, 2.44)
CIE-LCHlch(19.72, 25.11, 5.57°)
OKLaboklab(31.77% 0.0761 0.0066)
OKLCHoklch(31.77% 0.076 4.9)
XYZxyz(4.3572, 2.9192, 2.8161)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F2D #1F5143
analogous
#511F46 #511F2D #512A1F
triadic
#511F2D #2D511F #1F2D51
tetradic
#511F2D #46511F #1F5143 #2A1F51
square
#511F2D #46511F #1F5143 #2A1F51
split-complementary
#511F2D #1F512A #1F4651
monochromatic
#16080C #250E14 #511F2D #7D3046 #AA415E

Accessibility & contrast

On white

13.26
#511F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F2D
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F2D#FFFFFF#000000##FFFFFF
##511F2D1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2D
Deuteranopia (green-blind)
#35332C
Tritanopia (blue-blind)
#581A24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f2d;
/* rgb */ color: rgb(81, 31, 45);
/* oklch */ color: oklch(31.8% 0.076 4.9);
Tailwind
colors: {
  custom: {
    50: '#845d65',
    500: '#511f2d',
    950: '#000000',
  },
}
SCSS
$custom: #511f2d;
$custom-light: #845d65;
$custom-dark: #000000;
JSON
{
  "hex": "#511f2d",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 343.2,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31772,
    "c": 0.07637,
    "h": 4.9
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#511F2D
secondary
#468674
accent
#D4B053
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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