#4C0F3D#4C0F3D

#4C0F3D is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.106 H 339.7°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#4C0F3D
RGBrgb(76, 15, 61)
HSLhsl(315, 67%, 18%)
HSVhsv(315, 80%, 30%)
CMYKcmyk(0%, 80.3%, 19.7%, 70.2%)
CIE-LABlab(16.58, 33.40, -13.64)
CIE-LCHlch(16.58, 36.08, 337.78°)
OKLaboklab(29.49% 0.0994 -0.0369)
OKLCHoklch(29.49% 0.106 339.7)
XYZxyz(3.9937, 2.2155, 4.6313)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F3D #0F4C1E
analogous
#3C0F4C #4C0F3D #4C0F1E
triadic
#4C0F3D #3D4C0F #0F3D4C
tetradic
#4C0F3D #4C3C0F #0F4C1E #0F1E4C
square
#4C0F3D #4C3C0F #0F4C1E #0F1E4C
split-complementary
#4C0F3D #1E4C0F #0F4C3C
monochromatic
#1A0515 #1A0515 #4C0F3D #7F1966 #B2238F

Accessibility & contrast

On white

14.55
#4C0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F3D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F3D#FFFFFF#000000##FFFFFF
##4C0F3D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233E
Deuteranopia (green-blind)
#272C3C
Tritanopia (blue-blind)
#511124
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0f3d;
/* rgb */ color: rgb(76, 15, 61);
/* oklch */ color: oklch(29.5% 0.106 339.7);
Tailwind
colors: {
  custom: {
    50: '#815472',
    500: '#4c0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f3d;
$custom-light: #815472;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f3d",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 314.754,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29489,
    "c": 0.10603,
    "h": 339.7
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#4C0F3D
secondary
#318646
accent
#EA683E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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