#4C0B27#4C0B27

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

Color values

HEX#4C0B27
RGBrgb(76, 11, 39)
HSLhsl(334, 75%, 17%)
HSVhsv(334, 86%, 30%)
CMYKcmyk(0%, 85.5%, 48.7%, 70.2%)
CIE-LABlab(15.08, 31.86, -0.12)
CIE-LCHlch(15.08, 31.86, 359.79°)
OKLaboklab(28.07% 0.0979 0.0001)
OKLCHoklch(28.07% 0.098 0)
XYZxyz(3.4666, 1.9228, 2.1076)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B27 #0B4C30
analogous
#4C0B48 #4C0B27 #4C100B
triadic
#4C0B27 #274C0B #0B274C
tetradic
#4C0B27 #484C0B #0B4C30 #100B4C
square
#4C0B27 #484C0B #0B4C30 #100B4C
split-complementary
#4C0B27 #0B4C10 #0B484C
monochromatic
#1B040E #1B040E #4C0B27 #811342 #B71A5E

Accessibility & contrast

On white

15.17
#4C0B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B27
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B27#FFFFFF#000000##FFFFFF
##4C0B271.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0b27;
/* rgb */ color: rgb(76, 11, 39);
/* oklch */ color: oklch(28.1% 0.098 0.0);
Tailwind
colors: {
  custom: {
    50: '#825260',
    500: '#4c0b27',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b27;
$custom-light: #825260;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b27",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 39
  },
  "hsl": {
    "h": 334.154,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28074,
    "c": 0.0979,
    "h": 0
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#4C0B27
secondary
#2B8860
accent
#F1A136
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4C0B27

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

Preview Lab → · Contrast checker → · Palette generator →

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