#4C0F3C#4C0F3C

#4C0F3C is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.105 H 340.5°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#4C0F3C
RGBrgb(76, 15, 60)
HSLhsl(316, 67%, 18%)
HSVhsv(316, 80%, 30%)
CMYKcmyk(0%, 80.3%, 21.1%, 70.2%)
CIE-LABlab(16.53, 33.23, -13.02)
CIE-LCHlch(16.53, 35.69, 338.61°)
OKLaboklab(29.43% 0.0993 -0.0351)
OKLCHoklch(29.43% 0.105 340.5)
XYZxyz(3.9670, 2.2048, 4.4907)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F3C #0F4C1F
analogous
#3D0F4C #4C0F3C #4C0F1D
triadic
#4C0F3C #3C4C0F #0F3C4C
tetradic
#4C0F3C #4C3D0F #0F4C1F #0F1D4C
square
#4C0F3C #4C3D0F #0F4C1F #0F1D4C
split-complementary
#4C0F3C #1D4C0F #0F4C3D
monochromatic
#1A0514 #1A0514 #4C0F3C #7F1964 #B2238D

Accessibility & contrast

On white

14.58
#4C0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F3C
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F3C#FFFFFF#000000##FFFFFF
##4C0F3C1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233D
Deuteranopia (green-blind)
#272C3B
Tritanopia (blue-blind)
#511124
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0f3c;
/* rgb */ color: rgb(76, 15, 60);
/* oklch */ color: oklch(29.4% 0.105 340.5);
Tailwind
colors: {
  custom: {
    50: '#815471',
    500: '#4c0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f3c;
$custom-light: #815471;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f3c",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 315.738,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.10527,
    "h": 340.5
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#4C0F3C
secondary
#318647
accent
#EA6B3E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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