#4C0F33#4C0F33

#4C0F33 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.099 H 348.9°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#4C0F33
RGBrgb(76, 15, 51)
HSLhsl(325, 67%, 18%)
HSVhsv(325, 80%, 30%)
CMYKcmyk(0%, 80.3%, 32.9%, 70.2%)
CIE-LABlab(16.09, 31.87, -7.29)
CIE-LCHlch(16.09, 32.69, 347.11°)
OKLaboklab(28.98% 0.0972 -0.0191)
OKLCHoklch(28.98% 0.099 348.9)
XYZxyz(3.7490, 2.1176, 3.3426)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F33 #0F4C28
analogous
#460F4C #4C0F33 #4C0F14
triadic
#4C0F33 #334C0F #0F334C
tetradic
#4C0F33 #4C460F #0F4C28 #0F144C
square
#4C0F33 #4C460F #0F4C28 #0F144C
split-complementary
#4C0F33 #144C0F #0F4C46
monochromatic
#1A0511 #1A0511 #4C0F33 #7F1955 #B22378

Accessibility & contrast

On white

14.75
#4C0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F33
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F33#FFFFFF#000000##FFFFFF
##4C0F331.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182134
Deuteranopia (green-blind)
#2A2C32
Tritanopia (blue-blind)
#520C1F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0f33;
/* rgb */ color: rgb(76, 15, 51);
/* oklch */ color: oklch(29.0% 0.099 348.9);
Tailwind
colors: {
  custom: {
    50: '#81546a',
    500: '#4c0f33',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f33;
$custom-light: #81546a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f33",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 324.59,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.09903,
    "h": 348.9
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#4C0F33
secondary
#318654
accent
#EA843E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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