#511B30#511B30

#511B30 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.084 H 359.0°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#511B30
RGBrgb(81, 27, 48)
HSLhsl(337, 50%, 21%)
HSVhsv(337, 67%, 32%)
CMYKcmyk(0%, 66.7%, 40.7%, 68.2%)
CIE-LABlab(19.00, 27.56, -0.71)
CIE-LCHlch(19.00, 27.57, 358.52°)
OKLaboklab(31.27% 0.0841 -0.0015)
OKLCHoklch(31.27% 0.084 359)
XYZxyz(4.3190, 2.7471, 3.0985)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B30 #1B513C
analogous
#511B4B #511B30 #51211B
triadic
#511B30 #30511B #1B3051
tetradic
#511B30 #4B511B #1B513C #211B51
square
#511B30 #4B511B #1B513C #211B51
split-complementary
#511B30 #1B5121 #1B4B51
monochromatic
#17080E #230C15 #511B30 #7F2A4B #AD3A66

Accessibility & contrast

On white

13.55
#511B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B30
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B30#FFFFFF#000000##FFFFFF
##511B301.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242831
Deuteranopia (green-blind)
#33322F
Tritanopia (blue-blind)
#581623
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b30;
/* rgb */ color: rgb(81, 27, 48);
/* oklch */ color: oklch(31.3% 0.084 359.0);
Tailwind
colors: {
  custom: {
    50: '#855b68',
    500: '#511b30',
    950: '#000000',
  },
}
SCSS
$custom: #511b30;
$custom-light: #855b68;
$custom-dark: #000000;
JSON
{
  "hex": "#511b30",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 48
  },
  "hsl": {
    "h": 336.667,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3127,
    "c": 0.08413,
    "h": 359
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#511B30
secondary
#41876C
accent
#DAA34E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511B30

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

Preview Lab → · Contrast checker → · Palette generator →

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