#4B0C3A#4B0C3A

#4B0C3A is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.107 H 341.3°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#4B0C3A
RGBrgb(75, 12, 58)
HSLhsl(316, 72%, 17%)
HSVhsv(316, 84%, 29%)
CMYKcmyk(0%, 84%, 22.7%, 70.6%)
CIE-LABlab(15.82, 33.76, -12.71)
CIE-LCHlch(15.82, 36.07, 339.36°)
OKLaboklab(28.85% 0.1012 -0.0342)
OKLCHoklch(28.85% 0.107 341.3)
XYZxyz(3.7970, 2.0647, 4.2007)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C3A #0C4B1D
analogous
#3D0C4B #4B0C3A #4B0C1B
triadic
#4B0C3A #3A4B0C #0C3A4B
tetradic
#4B0C3A #4B3D0C #0C4B1D #0C1B4B
square
#4B0C3A #4B3D0C #0C4B1D #0C1B4B
split-complementary
#4B0C3A #1B4B0C #0C4B3D
monochromatic
#1A0414 #1A0414 #4B0C3A #801463 #B51D8C

Accessibility & contrast

On white

14.86
#4B0C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4B0C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C3A
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C3A#FFFFFF#000000##FFFFFF
##4B0C3A1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213B
Deuteranopia (green-blind)
#262B39
Tritanopia (blue-blind)
#500D22
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4b0c3a;
/* rgb */ color: rgb(75, 12, 58);
/* oklch */ color: oklch(28.9% 0.107 341.3);
Tailwind
colors: {
  custom: {
    50: '#805370',
    500: '#4b0c3a',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c3a;
$custom-light: #805370;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c3a",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 316.19,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28852,
    "c": 0.10684,
    "h": 341.3
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#4B0C3A
secondary
#2C8745
accent
#EF6A39
background
#F8F4F6
surface
#EFE8EC
border
#CAC4C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4B0C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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