#4B0C3E#4B0C3E

#4B0C3E is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.1% C 0.110 H 337.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#4B0C3E
RGBrgb(75, 12, 62)
HSLhsl(312, 72%, 17%)
HSVhsv(312, 84%, 29%)
CMYKcmyk(0%, 84%, 17.3%, 70.6%)
CIE-LABlab(16.04, 34.40, -15.20)
CIE-LCHlch(16.04, 37.61, 336.15°)
OKLaboklab(29.08% 0.1018 -0.0413)
OKLCHoklch(29.08% 0.11 337.9)
XYZxyz(3.9027, 2.1070, 4.7576)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C3E #0C4B19
analogous
#390C4B #4B0C3E #4B0C1F
triadic
#4B0C3E #3E4B0C #0C3E4B
tetradic
#4B0C3E #4B390C #0C4B19 #0C1F4B
square
#4B0C3E #4B390C #0C4B19 #0C1F4B
split-complementary
#4B0C3E #1F4B0C #0C4B39
monochromatic
#1A0416 #1A0416 #4B0C3E #80146A #B51D95

Accessibility & contrast

On white

14.77
#4B0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0C3E
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C3E#FFFFFF#000000##FFFFFF
##4B0C3E1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F223F
Deuteranopia (green-blind)
#242B3D
Tritanopia (blue-blind)
#501024
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4b0c3e;
/* rgb */ color: rgb(75, 12, 62);
/* oklch */ color: oklch(29.1% 0.110 337.9);
Tailwind
colors: {
  custom: {
    50: '#805373',
    500: '#4b0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c3e;
$custom-light: #805373;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c3e",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 312.381,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29078,
    "c": 0.10987,
    "h": 337.9
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#4B0C3E
secondary
#2C873F
accent
#EF5E39
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4B0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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