#4C0B2F#4C0B2F

#4C0B2F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.4% C 0.102 H 352.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#4C0B2F
RGBrgb(76, 11, 47)
HSLhsl(327, 75%, 17%)
HSVhsv(327, 86%, 30%)
CMYKcmyk(0%, 85.5%, 38.2%, 70.2%)
CIE-LABlab(15.39, 32.82, -5.48)
CIE-LCHlch(15.39, 33.28, 350.53°)
OKLaboklab(28.41% 0.1007 -0.0141)
OKLCHoklch(28.41% 0.102 352)
XYZxyz(3.6135, 1.9815, 2.8810)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B2F #0B4C28
analogous
#490B4C #4C0B2F #4C0B0F
triadic
#4C0B2F #2F4C0B #0B2F4C
tetradic
#4C0B2F #4C490B #0B4C28 #0B0F4C
square
#4C0B2F #4C490B #0B4C28 #0B0F4C
split-complementary
#4C0B2F #0F4C0B #0B4C49
monochromatic
#1B0411 #1B0411 #4C0B2F #811350 #B71A71

Accessibility & contrast

On white

15.04
#4C0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4C0B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B2F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B2F#FFFFFF#000000##FFFFFF
##4C0B2F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#52051C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0b2f;
/* rgb */ color: rgb(76, 11, 47);
/* oklch */ color: oklch(28.4% 0.102 352.0);
Tailwind
colors: {
  custom: {
    50: '#815267',
    500: '#4c0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b2f;
$custom-light: #815267;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b2f",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 326.769,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28406,
    "c": 0.10168,
    "h": 352
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#4C0B2F
secondary
#2B8854
accent
#F18A36
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0B0206
muted
#7C787A

Preview Lab

Preview with #4C0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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