#511F30#511F30

#511F30 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.077 H 1.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#511F30
RGBrgb(81, 31, 48)
HSLhsl(340, 45%, 22%)
HSVhsv(340, 62%, 32%)
CMYKcmyk(0%, 61.7%, 40.7%, 68.2%)
CIE-LABlab(19.82, 25.39, 0.48)
CIE-LCHlch(19.82, 25.39, 1.07°)
OKLaboklab(31.88% 0.0774 0.0016)
OKLCHoklch(31.88% 0.077 1.1)
XYZxyz(4.4171, 2.9432, 3.1312)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F30 #1F5140
analogous
#511F49 #511F30 #51271F
triadic
#511F30 #30511F #1F3051
tetradic
#511F30 #49511F #1F5140 #271F51
square
#511F30 #49511F #1F5140 #271F51
split-complementary
#511F30 #1F5127 #1F4951
monochromatic
#16080D #250E16 #511F30 #7D304A #AA4164

Accessibility & contrast

On white

13.22
#511F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F30
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F30#FFFFFF#000000##FFFFFF
##511F301.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A30
Deuteranopia (green-blind)
#35332F
Tritanopia (blue-blind)
#581B25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f30;
/* rgb */ color: rgb(81, 31, 48);
/* oklch */ color: oklch(31.9% 0.077 1.1);
Tailwind
colors: {
  custom: {
    50: '#845d68',
    500: '#511f30',
    950: '#000000',
  },
}
SCSS
$custom: #511f30;
$custom-light: #845d68;
$custom-dark: #000000;
JSON
{
  "hex": "#511f30",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 339.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31877,
    "c": 0.07737,
    "h": 1.1
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#511F30
secondary
#468670
accent
#D4A953
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511F30

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

Preview Lab → · Contrast checker → · Palette generator →

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