#511F45#511F45

#511F45 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.8% C 0.091 H 337.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#511F45
RGBrgb(81, 31, 69)
HSLhsl(314, 45%, 22%)
HSVhsv(314, 62%, 32%)
CMYKcmyk(0%, 61.7%, 14.8%, 68.2%)
CIE-LABlab(20.67, 28.75, -12.79)
CIE-LCHlch(20.67, 31.47, 336.02°)
OKLaboklab(32.8% 0.0843 -0.0345)
OKLCHoklch(32.8% 0.091 337.7)
XYZxyz(4.9576, 3.1594, 5.9778)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F45 #1F512B
analogous
#441F51 #511F45 #511F2C
triadic
#511F45 #45511F #1F4551
tetradic
#511F45 #51441F #1F512B #1F2C51
square
#511F45 #51441F #1F512B #1F2C51
split-complementary
#511F45 #2C511F #1F5144
monochromatic
#160813 #250E1F #511F45 #7D306B #AA4190

Accessibility & contrast

On white

12.87
#511F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#511F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F45
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F45#FFFFFF#000000##FFFFFF
##511F451.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D46
Deuteranopia (green-blind)
#2F3544
Tritanopia (blue-blind)
#55212F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511f45;
/* rgb */ color: rgb(81, 31, 69);
/* oklch */ color: oklch(32.8% 0.091 337.7);
Tailwind
colors: {
  custom: {
    50: '#845e78',
    500: '#511f45',
    950: '#000000',
  },
}
SCSS
$custom: #511f45;
$custom-light: #845e78;
$custom-dark: #000000;
JSON
{
  "hex": "#511f45",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 314.4,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32795,
    "c": 0.09109,
    "h": 337.7
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#511F45
secondary
#468655
accent
#D47253
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511F45

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

Preview Lab → · Contrast checker → · Palette generator →

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