#502B45#502B45

#502B45 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 34.7% C 0.067 H 339.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#502B45
RGBrgb(80, 43, 69)
HSLhsl(318, 30%, 24%)
HSVhsv(318, 46%, 31%)
CMYKcmyk(0%, 46.2%, 13.8%, 68.6%)
CIE-LABlab(23.21, 21.35, -8.91)
CIE-LCHlch(23.21, 23.13, 337.34°)
OKLaboklab(34.66% 0.0623 -0.0238)
OKLCHoklch(34.66% 0.067 339.1)
XYZxyz(5.2463, 3.8632, 6.0984)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502B45 #2B5036
analogous
#492B50 #502B45 #502B33
triadic
#502B45 #45502B #2B4550
tetradic
#502B45 #50492B #2B5036 #2B3350
square
#502B45 #50492B #2B5036 #2B3350
split-complementary
#502B45 #33502B #2B5049
monochromatic
#140B11 #281623 #502B45 #784067 #A0568A

Accessibility & contrast

On white

11.85
#502B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#502B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502B45
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502B45#FFFFFF#000000##FFFFFF
##502B451.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3446
Deuteranopia (green-blind)
#363944
Tritanopia (blue-blind)
#542C35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #502b45;
/* rgb */ color: rgb(80, 43, 69);
/* oklch */ color: oklch(34.7% 0.067 339.1);
Tailwind
colors: {
  custom: {
    50: '#826578',
    500: '#502b45',
    950: '#000000',
  },
}
SCSS
$custom: #502b45;
$custom-light: #826578;
$custom-dark: #000000;
JSON
{
  "hex": "#502b45",
  "rgb": {
    "r": 80,
    "g": 43,
    "b": 69
  },
  "hsl": {
    "h": 317.838,
    "s": 30.081,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34658,
    "c": 0.06673,
    "h": 339.1
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#502B45
secondary
#558262
accent
#C67F61
background
#F8F6F7
surface
#EFEBED
border
#CAC6C8
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #502B45

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

Preview Lab → · Contrast checker → · Palette generator →

#502B45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva