#4B0C38#4B0C38

#4B0C38 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.7% C 0.105 H 343.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#4B0C38
RGBrgb(75, 12, 56)
HSLhsl(318, 72%, 17%)
HSVhsv(318, 84%, 29%)
CMYKcmyk(0%, 84%, 25.3%, 70.6%)
CIE-LABlab(15.72, 33.45, -11.45)
CIE-LCHlch(15.72, 35.35, 341.10°)
OKLaboklab(28.74% 0.1008 -0.0307)
OKLCHoklch(28.74% 0.105 343.1)
XYZxyz(3.7471, 2.0447, 3.9379)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C38 #0C4B1F
analogous
#3F0C4B #4B0C38 #4B0C19
triadic
#4B0C38 #384B0C #0C384B
tetradic
#4B0C38 #4B3F0C #0C4B1F #0C194B
square
#4B0C38 #4B3F0C #0C4B1F #0C194B
split-complementary
#4B0C38 #194B0C #0C4B3F
monochromatic
#1A0414 #1A0414 #4B0C38 #80145F #B51D87

Accessibility & contrast

On white

14.91
#4B0C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0C38
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C38#FFFFFF#000000##FFFFFF
##4B0C381.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132139
Deuteranopia (green-blind)
#272B37
Tritanopia (blue-blind)
#500C21
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4b0c38;
/* rgb */ color: rgb(75, 12, 56);
/* oklch */ color: oklch(28.7% 0.105 343.1);
Tailwind
colors: {
  custom: {
    50: '#80536e',
    500: '#4b0c38',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c38;
$custom-light: #80536e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c38",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 318.095,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28744,
    "c": 0.1054,
    "h": 343.1
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#4B0C38
secondary
#2C8747
accent
#EF7039
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4B0C38

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

Preview Lab → · Contrast checker → · Palette generator →

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