#4C0E34#4C0E34

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

Color values

HEX#4C0E34
RGBrgb(76, 14, 52)
HSLhsl(323, 69%, 18%)
HSVhsv(323, 82%, 30%)
CMYKcmyk(0%, 81.6%, 31.6%, 70.2%)
CIE-LABlab(16.00, 32.41, -8.15)
CIE-LCHlch(16.00, 33.42, 345.88°)
OKLaboklab(28.92% 0.0987 -0.0215)
OKLCHoklch(28.92% 0.101 347.7)
XYZxyz(3.7575, 2.0989, 3.4554)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E34 #0E4C26
analogous
#450E4C #4C0E34 #4C0E15
triadic
#4C0E34 #344C0E #0E344C
tetradic
#4C0E34 #4C450E #0E4C26 #0E154C
square
#4C0E34 #4C450E #0E4C26 #0E154C
split-complementary
#4C0E34 #154C0E #0E4C45
monochromatic
#1A0512 #1A0512 #4C0E34 #801857 #B3217B

Accessibility & contrast

On white

14.79
#4C0E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0E34
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E34#FFFFFF#000000##FFFFFF
##4C0E341.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172135
Deuteranopia (green-blind)
#292C33
Tritanopia (blue-blind)
#520B1F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0e34;
/* rgb */ color: rgb(76, 14, 52);
/* oklch */ color: oklch(28.9% 0.101 347.7);
Tailwind
colors: {
  custom: {
    50: '#81536b',
    500: '#4c0e34',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e34;
$custom-light: #81536b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e34",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 323.226,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28921,
    "c": 0.10098,
    "h": 347.7
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#4C0E34
secondary
#2F8751
accent
#EC803C
background
#F8F5F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0E34

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

Preview Lab → · Contrast checker → · Palette generator →

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