#4C0F31#4C0F31

#4C0F31 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.098 H 350.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#4C0F31
RGBrgb(76, 15, 49)
HSLhsl(327, 67%, 18%)
HSVhsv(327, 80%, 30%)
CMYKcmyk(0%, 80.3%, 35.5%, 70.2%)
CIE-LABlab(16.00, 31.59, -5.99)
CIE-LCHlch(16.00, 32.16, 349.26°)
OKLaboklab(28.88% 0.0966 -0.0156)
OKLCHoklch(28.88% 0.098 350.8)
XYZxyz(3.7059, 2.1003, 3.1154)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F31 #0F4C2A
analogous
#480F4C #4C0F31 #4C0F13
triadic
#4C0F31 #314C0F #0F314C
tetradic
#4C0F31 #4C480F #0F4C2A #0F134C
square
#4C0F31 #4C480F #0F4C2A #0F134C
split-complementary
#4C0F31 #134C0F #0F4C48
monochromatic
#1A0510 #1A0510 #4C0F31 #7F1952 #B22373

Accessibility & contrast

On white

14.79
#4C0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4C0F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F31
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F31#FFFFFF#000000##FFFFFF
##4C0F311.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192132
Deuteranopia (green-blind)
#2B2C30
Tritanopia (blue-blind)
#520B1E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0f31;
/* rgb */ color: rgb(76, 15, 49);
/* oklch */ color: oklch(28.9% 0.098 350.8);
Tailwind
colors: {
  custom: {
    50: '#815469',
    500: '#4c0f31',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f31;
$custom-light: #815469;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f31",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 326.557,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28883,
    "c": 0.09783,
    "h": 350.8
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#4C0F31
secondary
#318656
accent
#EA8A3E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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