#511045#511045

#511045 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.9% C 0.114 H 336.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#511045
RGBrgb(81, 16, 69)
HSLhsl(311, 67%, 19%)
HSVhsv(311, 80%, 32%)
CMYKcmyk(0%, 80.2%, 14.8%, 68.2%)
CIE-LABlab(18.14, 35.74, -16.71)
CIE-LCHlch(18.14, 39.45, 334.94°)
OKLaboklab(30.95% 0.1051 -0.0455)
OKLCHoklch(30.95% 0.114 336.6)
XYZxyz(4.6529, 2.5500, 5.8762)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511045 #10511C
analogous
#3D1051 #511045 #511025
triadic
#511045 #455110 #104551
tetradic
#511045 #513D10 #10511C #102551
square
#511045 #513D10 #10511C #102551
split-complementary
#511045 #255110 #10513D
monochromatic
#1A0516 #1E0619 #511045 #841A71 #B7249C

Accessibility & contrast

On white

13.91
#511045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511045
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511045#FFFFFF#000000##FFFFFF
##5110451.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112646
Deuteranopia (green-blind)
#283043
Tritanopia (blue-blind)
#561429
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511045;
/* rgb */ color: rgb(81, 16, 69);
/* oklch */ color: oklch(30.9% 0.114 336.6);
Tailwind
colors: {
  custom: {
    50: '#855679',
    500: '#511045',
    950: '#000000',
  },
}
SCSS
$custom: #511045;
$custom-light: #855679;
$custom-dark: #000000;
JSON
{
  "hex": "#511045",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 311.077,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30949,
    "c": 0.11449,
    "h": 336.6
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#511045
secondary
#328B42
accent
#EA5E3E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511045

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

Preview Lab → · Contrast checker → · Palette generator →

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