#4B0C39#4B0C39

#4B0C39 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.106 H 342.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#4B0C39
RGBrgb(75, 12, 57)
HSLhsl(317, 72%, 17%)
HSVhsv(317, 84%, 29%)
CMYKcmyk(0%, 84%, 24%, 70.6%)
CIE-LABlab(15.77, 33.60, -12.08)
CIE-LCHlch(15.77, 35.71, 340.22°)
OKLaboklab(28.8% 0.101 -0.0324)
OKLCHoklch(28.8% 0.106 342.2)
XYZxyz(3.7718, 2.0546, 4.0680)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C39 #0C4B1E
analogous
#3E0C4B #4B0C39 #4B0C1A
triadic
#4B0C39 #394B0C #0C394B
tetradic
#4B0C39 #4B3E0C #0C4B1E #0C1A4B
square
#4B0C39 #4B3E0C #0C4B1E #0C1A4B
split-complementary
#4B0C39 #1A4B0C #0C4B3E
monochromatic
#1A0414 #1A0414 #4B0C39 #801461 #B51D89

Accessibility & contrast

On white

14.89
#4B0C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0C39
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C39#FFFFFF#000000##FFFFFF
##4B0C391.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213A
Deuteranopia (green-blind)
#262B38
Tritanopia (blue-blind)
#500D21
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4b0c39;
/* rgb */ color: rgb(75, 12, 57);
/* oklch */ color: oklch(28.8% 0.106 342.2);
Tailwind
colors: {
  custom: {
    50: '#80536f',
    500: '#4b0c39',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c39;
$custom-light: #80536f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c39",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 317.143,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28797,
    "c": 0.10611,
    "h": 342.2
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#4B0C39
secondary
#2C8746
accent
#EF6D39
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4B0C39

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

Preview Lab → · Contrast checker → · Palette generator →

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