#4C0B40#4C0B40

#4C0B40 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.3% C 0.113 H 336.9°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#4C0B40
RGBrgb(76, 11, 64)
HSLhsl(311, 75%, 17%)
HSVhsv(311, 86%, 30%)
CMYKcmyk(0%, 85.5%, 15.8%, 70.2%)
CIE-LABlab(16.24, 35.33, -16.28)
CIE-LCHlch(16.24, 38.91, 335.26°)
OKLaboklab(29.3% 0.1042 -0.0443)
OKLCHoklch(29.3% 0.113 336.9)
XYZxyz(4.0257, 2.1464, 5.0518)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B40 #0B4C17
analogous
#380B4C #4C0B40 #4C0B20
triadic
#4C0B40 #404C0B #0B404C
tetradic
#4C0B40 #4C380B #0B4C17 #0B204C
square
#4C0B40 #4C380B #0B4C17 #0B204C
split-complementary
#4C0B40 #204C0B #0B4C38
monochromatic
#1B0417 #1B0417 #4C0B40 #81136D #B71A9A

Accessibility & contrast

On white

14.69
#4C0B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4C0B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B40
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B40#FFFFFF#000000##FFFFFF
##4C0B401.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2241
Deuteranopia (green-blind)
#242C3F
Tritanopia (blue-blind)
#511025
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0b40;
/* rgb */ color: rgb(76, 11, 64);
/* oklch */ color: oklch(29.3% 0.113 336.9);
Tailwind
colors: {
  custom: {
    50: '#815375',
    500: '#4c0b40',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b40;
$custom-light: #815375;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b40",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 311.077,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29296,
    "c": 0.11322,
    "h": 336.9
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#4C0B40
secondary
#2B883C
accent
#F15936
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0B40

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

Preview Lab → · Contrast checker → · Palette generator →

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