#4B0C3B#4B0C3B

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

Color values

HEX#4B0C3B
RGBrgb(75, 12, 59)
HSLhsl(315, 72%, 17%)
HSVhsv(315, 84%, 29%)
CMYKcmyk(0%, 84%, 21.3%, 70.6%)
CIE-LABlab(15.88, 33.91, -13.34)
CIE-LCHlch(15.88, 36.44, 338.53°)
OKLaboklab(28.91% 0.1014 -0.036)
OKLCHoklch(28.91% 0.108 340.5)
XYZxyz(3.8227, 2.0750, 4.3360)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C3B #0C4B1C
analogous
#3C0C4B #4B0C3B #4B0C1C
triadic
#4B0C3B #3B4B0C #0C3B4B
tetradic
#4B0C3B #4B3C0C #0C4B1C #0C1C4B
square
#4B0C3B #4B3C0C #0C4B1C #0C1C4B
split-complementary
#4B0C3B #1C4B0C #0C4B3C
monochromatic
#1A0415 #1A0415 #4B0C3B #801465 #B51D8E

Accessibility & contrast

On white

14.84
#4B0C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4B0C3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C3B
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C3B#FFFFFF#000000##FFFFFF
##4B0C3B1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11213C
Deuteranopia (green-blind)
#262B3A
Tritanopia (blue-blind)
#500E22
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4b0c3b;
/* rgb */ color: rgb(75, 12, 59);
/* oklch */ color: oklch(28.9% 0.108 340.5);
Tailwind
colors: {
  custom: {
    50: '#805371',
    500: '#4b0c3b',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c3b;
$custom-light: #805371;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c3b",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 315.238,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28907,
    "c": 0.10758,
    "h": 340.5
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#4B0C3B
secondary
#2C8743
accent
#EF6739
background
#F8F4F6
surface
#EFE8EC
border
#CAC4C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4B0C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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