#511341#511341

#511341 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.107 H 340.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#511341
RGBrgb(81, 19, 65)
HSLhsl(315, 62%, 20%)
HSVhsv(315, 77%, 32%)
CMYKcmyk(0%, 76.5%, 19.8%, 68.2%)
CIE-LABlab(18.35, 33.88, -13.61)
CIE-LCHlch(18.35, 36.51, 338.11°)
OKLaboklab(31.03% 0.1009 -0.0367)
OKLCHoklch(31.03% 0.107 340)
XYZxyz(4.5805, 2.5972, 5.2601)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511341 #135123
analogous
#421351 #511341 #511322
triadic
#511341 #415113 #134151
tetradic
#511341 #514213 #135123 #132251
square
#511341 #514213 #135123 #132251
split-complementary
#511341 #225113 #135142
monochromatic
#190614 #1F0719 #511341 #831F69 #B42A91

Accessibility & contrast

On white

13.82
#511341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511341
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511341#FFFFFF#000000##FFFFFF
##5113411.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172642
Deuteranopia (green-blind)
#2B3040
Tritanopia (blue-blind)
#561528
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511341;
/* rgb */ color: rgb(81, 19, 65);
/* oklch */ color: oklch(31.0% 0.107 340.0);
Tailwind
colors: {
  custom: {
    50: '#845775',
    500: '#511341',
    950: '#000000',
  },
}
SCSS
$custom: #511341;
$custom-light: #845775;
$custom-dark: #000000;
JSON
{
  "hex": "#511341",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 315.484,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31031,
    "c": 0.10735,
    "h": 340
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#511341
secondary
#368A4C
accent
#E56D43
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #511341

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

Preview Lab → · Contrast checker → · Palette generator →

#511341 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva