#4C0B3F#4C0B3F

#4C0B3F is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.2% C 0.112 H 337.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#4C0B3F
RGBrgb(76, 11, 63)
HSLhsl(312, 75%, 17%)
HSVhsv(312, 86%, 30%)
CMYKcmyk(0%, 85.5%, 17.1%, 70.2%)
CIE-LABlab(16.18, 35.17, -15.67)
CIE-LCHlch(16.18, 38.50, 335.98°)
OKLaboklab(29.24% 0.1041 -0.0426)
OKLCHoklch(29.24% 0.112 337.7)
XYZxyz(3.9975, 2.1351, 4.9033)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B3F #0B4C18
analogous
#390B4C #4C0B3F #4C0B1F
triadic
#4C0B3F #3F4C0B #0B3F4C
tetradic
#4C0B3F #4C390B #0B4C18 #0B1F4C
square
#4C0B3F #4C390B #0B4C18 #0B1F4C
split-complementary
#4C0B3F #1F4C0B #0B4C39
monochromatic
#1B0416 #1B0416 #4C0B3F #81136B #B71A98

Accessibility & contrast

On white

14.72
#4C0B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4C0B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B3F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B3F#FFFFFF#000000##FFFFFF
##4C0B3F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2240
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#510F24
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0b3f;
/* rgb */ color: rgb(76, 11, 63);
/* oklch */ color: oklch(29.2% 0.112 337.7);
Tailwind
colors: {
  custom: {
    50: '#815374',
    500: '#4c0b3f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b3f;
$custom-light: #815374;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b3f",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 312,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29237,
    "c": 0.11244,
    "h": 337.7
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#4C0B3F
secondary
#2B883D
accent
#F15C36
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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