#4C0B26#4C0B26

#4C0B26 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.0% C 0.098 H 1.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#4C0B26
RGBrgb(76, 11, 38)
HSLhsl(335, 75%, 17%)
HSVhsv(335, 86%, 30%)
CMYKcmyk(0%, 85.5%, 50%, 70.2%)
CIE-LABlab(15.04, 31.76, 0.56)
CIE-LCHlch(15.04, 31.76, 1.01°)
OKLaboklab(28.04% 0.0975 0.0018)
OKLCHoklch(28.04% 0.098 1.1)
XYZxyz(3.4503, 1.9162, 2.0215)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B26 #0B4C31
analogous
#4C0B47 #4C0B26 #4C110B
triadic
#4C0B26 #264C0B #0B264C
tetradic
#4C0B26 #474C0B #0B4C31 #110B4C
square
#4C0B26 #474C0B #0B4C31 #110B4C
split-complementary
#4C0B26 #0B4C11 #0B474C
monochromatic
#1B040D #1B040D #4C0B26 #811341 #B71A5B

Accessibility & contrast

On white

15.18
#4C0B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4C0B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B26
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B26#FFFFFF#000000##FFFFFF
##4C0B261.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E27
Deuteranopia (green-blind)
#2C2A25
Tritanopia (blue-blind)
#530117
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0b26;
/* rgb */ color: rgb(76, 11, 38);
/* oklch */ color: oklch(28.0% 0.098 1.1);
Tailwind
colors: {
  custom: {
    50: '#825260',
    500: '#4c0b26',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b26;
$custom-light: #825260;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b26",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 38
  },
  "hsl": {
    "h": 335.077,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28037,
    "c": 0.09752,
    "h": 1.1
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#4C0B26
secondary
#2B8861
accent
#F1A436
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0B26

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

Preview Lab → · Contrast checker → · Palette generator →

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