#4C0F41#4C0F41

#4C0F41 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.109 H 336.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#4C0F41
RGBrgb(76, 15, 65)
HSLhsl(311, 67%, 18%)
HSVhsv(311, 80%, 30%)
CMYKcmyk(0%, 80.3%, 14.5%, 70.2%)
CIE-LABlab(16.80, 34.07, -16.11)
CIE-LCHlch(16.80, 37.68, 334.69°)
OKLaboklab(29.72% 0.1 -0.0439)
OKLCHoklch(29.72% 0.109 336.3)
XYZxyz(4.1055, 2.2602, 5.2200)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F41 #0F4C1A
analogous
#380F4C #4C0F41 #4C0F22
triadic
#4C0F41 #414C0F #0F414C
tetradic
#4C0F41 #4C380F #0F4C1A #0F224C
square
#4C0F41 #4C380F #0F4C1A #0F224C
split-complementary
#4C0F41 #224C0F #0F4C38
monochromatic
#1A0516 #1A0516 #4C0F41 #7F196D #B22398

Accessibility & contrast

On white

14.46
#4C0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F41
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F41#FFFFFF#000000##FFFFFF
##4C0F411.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102442
Deuteranopia (green-blind)
#252D40
Tritanopia (blue-blind)
#501326
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0f41;
/* rgb */ color: rgb(76, 15, 65);
/* oklch */ color: oklch(29.7% 0.109 336.3);
Tailwind
colors: {
  custom: {
    50: '#815475',
    500: '#4c0f41',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f41;
$custom-light: #815475;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f41",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 310.82,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29717,
    "c": 0.10919,
    "h": 336.3
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#4C0F41
secondary
#318640
accent
#EA5D3E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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