#4C0F38#4C0F38

#4C0F38 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.102 H 344.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#4C0F38
RGBrgb(76, 15, 56)
HSLhsl(320, 67%, 18%)
HSVhsv(320, 80%, 30%)
CMYKcmyk(0%, 80.3%, 26.3%, 70.2%)
CIE-LABlab(16.33, 32.61, -10.50)
CIE-LCHlch(16.33, 34.26, 342.15°)
OKLaboklab(29.22% 0.0984 -0.028)
OKLCHoklch(29.22% 0.102 344.1)
XYZxyz(3.8653, 2.1641, 3.9548)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F38 #0F4C23
analogous
#410F4C #4C0F38 #4C0F19
triadic
#4C0F38 #384C0F #0F384C
tetradic
#4C0F38 #4C410F #0F4C23 #0F194C
square
#4C0F38 #4C410F #0F4C23 #0F194C
split-complementary
#4C0F38 #194C0F #0F4C41
monochromatic
#1A0513 #1A0513 #4C0F38 #7F195E #B22383

Accessibility & contrast

On white

14.66
#4C0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F38
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F38#FFFFFF#000000##FFFFFF
##4C0F381.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162239
Deuteranopia (green-blind)
#282C37
Tritanopia (blue-blind)
#510F22
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0f38;
/* rgb */ color: rgb(76, 15, 56);
/* oklch */ color: oklch(29.2% 0.102 344.1);
Tailwind
colors: {
  custom: {
    50: '#81546e',
    500: '#4c0f38',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f38;
$custom-light: #81546e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f38",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 319.672,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29222,
    "c": 0.10235,
    "h": 344.1
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#4C0F38
secondary
#31864D
accent
#EA763E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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