#4C0F27#4C0F27

#4C0F27 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.093 H 1.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#4C0F27
RGBrgb(76, 15, 39)
HSLhsl(336, 67%, 18%)
HSVhsv(336, 80%, 30%)
CMYKcmyk(0%, 80.3%, 48.7%, 70.2%)
CIE-LABlab(15.62, 30.34, 0.67)
CIE-LCHlch(15.62, 30.35, 1.26°)
OKLaboklab(28.47% 0.093 0.0021)
OKLCHoklch(28.47% 0.093 1.3)
XYZxyz(3.5178, 2.0251, 2.1247)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F27 #0F4C34
analogous
#4C0F45 #4C0F27 #4C150F
triadic
#4C0F27 #274C0F #0F274C
tetradic
#4C0F27 #454C0F #0F4C34 #150F4C
square
#4C0F27 #454C0F #0F4C34 #150F4C
split-complementary
#4C0F27 #0F4C15 #0F454C
monochromatic
#1A050D #1A050D #4C0F27 #7F1941 #B2235B

Accessibility & contrast

On white

14.95
#4C0F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4C0F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F27
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F27#FFFFFF#000000##FFFFFF
##4C0F271.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F28
Deuteranopia (green-blind)
#2D2B26
Tritanopia (blue-blind)
#530619
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0f27;
/* rgb */ color: rgb(76, 15, 39);
/* oklch */ color: oklch(28.5% 0.093 1.3);
Tailwind
colors: {
  custom: {
    50: '#825360',
    500: '#4c0f27',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f27;
$custom-light: #825360;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f27",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 336.393,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28472,
    "c": 0.09304,
    "h": 1.3
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#4C0F27
secondary
#318665
accent
#EAA63E
background
#F8F4F5
surface
#EFE8E9
border
#CAC4C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C0F27

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

Preview Lab → · Contrast checker → · Palette generator →

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