#4C0F3A#4C0F3A

#4C0F3A is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.104 H 342.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#4C0F3A
RGBrgb(76, 15, 58)
HSLhsl(318, 67%, 18%)
HSVhsv(318, 80%, 30%)
CMYKcmyk(0%, 80.3%, 23.7%, 70.2%)
CIE-LABlab(16.42, 32.92, -11.77)
CIE-LCHlch(16.42, 34.96, 340.33°)
OKLaboklab(29.33% 0.0989 -0.0316)
OKLCHoklch(29.33% 0.104 342.3)
XYZxyz(3.9152, 2.1840, 4.2175)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F3A #0F4C21
analogous
#3F0F4C #4C0F3A #4C0F1B
triadic
#4C0F3A #3A4C0F #0F3A4C
tetradic
#4C0F3A #4C3F0F #0F4C21 #0F1B4C
square
#4C0F3A #4C3F0F #0F4C21 #0F1B4C
split-complementary
#4C0F3A #1B4C0F #0F4C3F
monochromatic
#1A0514 #1A0514 #4C0F3A #7F1961 #B22388

Accessibility & contrast

On white

14.62
#4C0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4C0F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F3A
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F3A#FFFFFF#000000##FFFFFF
##4C0F3A1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15223B
Deuteranopia (green-blind)
#282C39
Tritanopia (blue-blind)
#511023
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0f3a;
/* rgb */ color: rgb(76, 15, 58);
/* oklch */ color: oklch(29.3% 0.104 342.3);
Tailwind
colors: {
  custom: {
    50: '#815470',
    500: '#4c0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f3a;
$custom-light: #815470;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f3a",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 317.705,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29326,
    "c": 0.10378,
    "h": 342.3
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#4C0F3A
secondary
#31864A
accent
#EA713E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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