#4B0C2A#4B0C2A

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

Color values

HEX#4B0C2A
RGBrgb(75, 12, 42)
HSLhsl(331, 72%, 17%)
HSVhsv(331, 84%, 29%)
CMYKcmyk(0%, 84%, 44%, 70.6%)
CIE-LABlab(15.10, 31.54, -2.31)
CIE-LCHlch(15.10, 31.62, 355.82°)
OKLaboklab(28.08% 0.0969 -0.0057)
OKLCHoklch(28.08% 0.097 356.7)
XYZxyz(3.4513, 1.9264, 2.3801)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C2A #0C4B2D
analogous
#4B0C4A #4B0C2A #4B0E0C
triadic
#4B0C2A #2A4B0C #0C2A4B
tetradic
#4B0C2A #4A4B0C #0C4B2D #0E0C4B
square
#4B0C2A #4A4B0C #0C4B2D #0E0C4B
split-complementary
#4B0C2A #0C4B0E #0C4A4B
monochromatic
#1A040F #1A040F #4B0C2A #801448 #B51D65

Accessibility & contrast

On white

15.16
#4B0C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4B0C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C2A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C2A#FFFFFF#000000##FFFFFF
##4B0C2A1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#2B2A29
Tritanopia (blue-blind)
#520419
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4b0c2a;
/* rgb */ color: rgb(75, 12, 42);
/* oklch */ color: oklch(28.1% 0.097 356.7);
Tailwind
colors: {
  custom: {
    50: '#815263',
    500: '#4b0c2a',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c2a;
$custom-light: #815263;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c2a",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 331.429,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28085,
    "c": 0.09707,
    "h": 356.7
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#4B0C2A
secondary
#2C875C
accent
#EF9839
background
#F8F4F5
surface
#EFE7EA
border
#CAC3C6
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4B0C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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