#4C0F40#4C0F40

#4C0F40 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.7% C 0.108 H 337.1°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#4C0F40
RGBrgb(76, 15, 64)
HSLhsl(312, 67%, 18%)
HSVhsv(312, 80%, 30%)
CMYKcmyk(0%, 80.3%, 15.8%, 70.2%)
CIE-LABlab(16.74, 33.90, -15.50)
CIE-LCHlch(16.74, 37.27, 335.43°)
OKLaboklab(29.66% 0.0999 -0.0421)
OKLCHoklch(29.66% 0.108 337.1)
XYZxyz(4.0768, 2.2487, 5.0688)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F40 #0F4C1B
analogous
#390F4C #4C0F40 #4C0F22
triadic
#4C0F40 #404C0F #0F404C
tetradic
#4C0F40 #4C390F #0F4C1B #0F224C
square
#4C0F40 #4C390F #0F4C1B #0F224C
split-complementary
#4C0F40 #224C0F #0F4C39
monochromatic
#1A0516 #1A0516 #4C0F40 #7F196B #B22396

Accessibility & contrast

On white

14.49
#4C0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F40
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F40#FFFFFF#000000##FFFFFF
##4C0F401.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112341
Deuteranopia (green-blind)
#262D3F
Tritanopia (blue-blind)
#501326
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0f40;
/* rgb */ color: rgb(76, 15, 64);
/* oklch */ color: oklch(29.7% 0.108 337.1);
Tailwind
colors: {
  custom: {
    50: '#815475',
    500: '#4c0f40',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f40;
$custom-light: #815475;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f40",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 311.803,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29659,
    "c": 0.10839,
    "h": 337.1
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#4C0F40
secondary
#318641
accent
#EA603E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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