#502145#502145

#502145 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.087 H 337.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#502145
RGBrgb(80, 33, 69)
HSLhsl(314, 42%, 22%)
HSVhsv(314, 59%, 31%)
CMYKcmyk(0%, 58.8%, 13.8%, 68.6%)
CIE-LABlab(20.92, 27.30, -12.42)
CIE-LCHlch(20.92, 29.99, 335.53°)
OKLaboklab(32.94% 0.0798 -0.0335)
OKLCHoklch(32.94% 0.087 337.2)
XYZxyz(4.9263, 3.2232, 5.9917)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502145 #21502C
analogous
#442150 #502145 #50212D
triadic
#502145 #455021 #214550
tetradic
#502145 #504421 #21502C #212D50
square
#502145 #504421 #21502C #212D50
split-complementary
#502145 #2D5021 #215044
monochromatic
#160913 #250F20 #502145 #7B336A #A74590

Accessibility & contrast

On white

12.77
#502145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#502145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502145
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502145#FFFFFF#000000##FFFFFF
##5021451.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E46
Deuteranopia (green-blind)
#303544
Tritanopia (blue-blind)
#54232F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #502145;
/* rgb */ color: rgb(80, 33, 69);
/* oklch */ color: oklch(32.9% 0.087 337.2);
Tailwind
colors: {
  custom: {
    50: '#835f78',
    500: '#502145',
    950: '#000000',
  },
}
SCSS
$custom: #502145;
$custom-light: #835f78;
$custom-dark: #000000;
JSON
{
  "hex": "#502145",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 314.043,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32942,
    "c": 0.08652,
    "h": 337.2
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#502145
secondary
#498457
accent
#D17356
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #502145

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

Preview Lab → · Contrast checker → · Palette generator →

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