#4C0F34#4C0F34

#4C0F34 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.100 H 347.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#4C0F34
RGBrgb(76, 15, 52)
HSLhsl(324, 67%, 18%)
HSVhsv(324, 80%, 30%)
CMYKcmyk(0%, 80.3%, 31.6%, 70.2%)
CIE-LABlab(16.14, 32.01, -7.94)
CIE-LCHlch(16.14, 32.98, 346.07°)
OKLaboklab(29.02% 0.0975 -0.0209)
OKLCHoklch(29.02% 0.1 347.9)
XYZxyz(3.7713, 2.1265, 3.4600)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F34 #0F4C27
analogous
#450F4C #4C0F34 #4C0F15
triadic
#4C0F34 #344C0F #0F344C
tetradic
#4C0F34 #4C450F #0F4C27 #0F154C
square
#4C0F34 #4C450F #0F4C27 #0F154C
split-complementary
#4C0F34 #154C0F #0F4C45
monochromatic
#1A0511 #1A0511 #4C0F34 #7F1957 #B2237A

Accessibility & contrast

On white

14.73
#4C0F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F34
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F34#FFFFFF#000000##FFFFFF
##4C0F341.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182135
Deuteranopia (green-blind)
#2A2C33
Tritanopia (blue-blind)
#520C20
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0f34;
/* rgb */ color: rgb(76, 15, 52);
/* oklch */ color: oklch(29.0% 0.100 347.9);
Tailwind
colors: {
  custom: {
    50: '#81546b',
    500: '#4c0f34',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f34;
$custom-light: #81546b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f34",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 323.607,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29023,
    "c": 0.09967,
    "h": 347.9
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#4C0F34
secondary
#318652
accent
#EA823E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0F34

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

Preview Lab → · Contrast checker → · Palette generator →

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