#511F3F#511F3F

#511F3F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.086 H 343.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#511F3F
RGBrgb(81, 31, 63)
HSLhsl(322, 45%, 22%)
HSVhsv(322, 62%, 32%)
CMYKcmyk(0%, 61.7%, 22.2%, 68.2%)
CIE-LABlab(20.40, 27.69, -9.09)
CIE-LCHlch(20.40, 29.14, 341.83°)
OKLaboklab(32.5% 0.0827 -0.0242)
OKLCHoklch(32.5% 0.086 343.7)
XYZxyz(4.7806, 3.0886, 5.0460)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F3F #1F5131
analogous
#4A1F51 #511F3F #511F26
triadic
#511F3F #3F511F #1F3F51
tetradic
#511F3F #514A1F #1F5131 #1F2651
square
#511F3F #514A1F #1F5131 #1F2651
split-complementary
#511F3F #26511F #1F514A
monochromatic
#160811 #250E1D #511F3F #7D3061 #AA4184

Accessibility & contrast

On white

12.98
#511F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#511F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F3F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F3F#FFFFFF#000000##FFFFFF
##511F3F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#31343E
Tritanopia (blue-blind)
#561F2C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511f3f;
/* rgb */ color: rgb(81, 31, 63);
/* oklch */ color: oklch(32.5% 0.086 343.7);
Tailwind
colors: {
  custom: {
    50: '#845d74',
    500: '#511f3f',
    950: '#000000',
  },
}
SCSS
$custom: #511f3f;
$custom-light: #845d74;
$custom-dark: #000000;
JSON
{
  "hex": "#511f3f",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 321.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.325,
    "c": 0.08616,
    "h": 343.7
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#511F3F
secondary
#46865D
accent
#D48253
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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