#4C0F39#4C0F39

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

Color values

HEX#4C0F39
RGBrgb(76, 15, 57)
HSLhsl(319, 67%, 18%)
HSVhsv(319, 80%, 30%)
CMYKcmyk(0%, 80.3%, 25%, 70.2%)
CIE-LABlab(16.38, 32.76, -11.13)
CIE-LCHlch(16.38, 34.60, 341.23°)
OKLaboklab(29.27% 0.0987 -0.0298)
OKLCHoklch(29.27% 0.103 343.2)
XYZxyz(3.8900, 2.1740, 4.0849)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F39 #0F4C22
analogous
#400F4C #4C0F39 #4C0F1A
triadic
#4C0F39 #394C0F #0F394C
tetradic
#4C0F39 #4C400F #0F4C22 #0F1A4C
square
#4C0F39 #4C400F #0F4C22 #0F1A4C
split-complementary
#4C0F39 #1A4C0F #0F4C40
monochromatic
#1A0513 #1A0513 #4C0F39 #7F195F #B22386

Accessibility & contrast

On white

14.64
#4C0F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F39
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F39#FFFFFF#000000##FFFFFF
##4C0F391.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15223A
Deuteranopia (green-blind)
#282C38
Tritanopia (blue-blind)
#510F22
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0f39;
/* rgb */ color: rgb(76, 15, 57);
/* oklch */ color: oklch(29.3% 0.103 343.2);
Tailwind
colors: {
  custom: {
    50: '#81546f',
    500: '#4c0f39',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f39;
$custom-light: #81546f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f39",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 318.689,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29274,
    "c": 0.10306,
    "h": 343.2
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#4C0F39
secondary
#31864B
accent
#EA733E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0F39

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

Preview Lab → · Contrast checker → · Palette generator →

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