#4B1040#4B1040

#4B1040 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.6% C 0.106 H 336.5°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#4B1040
RGBrgb(75, 16, 64)
HSLhsl(311, 65%, 18%)
HSVhsv(311, 79%, 29%)
CMYKcmyk(0%, 78.7%, 14.7%, 70.6%)
CIE-LABlab(16.68, 33.21, -15.60)
CIE-LCHlch(16.68, 36.70, 334.84°)
OKLaboklab(29.58% 0.0975 -0.0425)
OKLCHoklch(29.58% 0.106 336.5)
XYZxyz(4.0124, 2.2370, 5.0700)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1040 #104B1B
analogous
#38104B #4B1040 #4B1023
triadic
#4B1040 #404B10 #10404B
tetradic
#4B1040 #4B3810 #104B1B #10234B
square
#4B1040 #4B3810 #104B1B #10234B
split-complementary
#4B1040 #234B10 #104B38
monochromatic
#190516 #190516 #4B1040 #7D1B6B #B02696

Accessibility & contrast

On white

14.51
#4B1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4B1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1040
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1040#FFFFFF#000000##FFFFFF
##4B10401.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112341
Deuteranopia (green-blind)
#252C3F
Tritanopia (blue-blind)
#4F1426
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b1040;
/* rgb */ color: rgb(75, 16, 64);
/* oklch */ color: oklch(29.6% 0.106 336.5);
Tailwind
colors: {
  custom: {
    50: '#805575',
    500: '#4b1040',
    950: '#000000',
  },
}
SCSS
$custom: #4b1040;
$custom-light: #805575;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1040",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 311.186,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2958,
    "c": 0.10636,
    "h": 336.5
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#4B1040
secondary
#328541
accent
#E85F40
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4B1040

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

Preview Lab → · Contrast checker → · Palette generator →

#4B1040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva