#4C102E#4C102E

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

Color values

HEX#4C102E
RGBrgb(76, 16, 46)
HSLhsl(330, 65%, 18%)
HSVhsv(330, 79%, 30%)
CMYKcmyk(0%, 78.9%, 39.5%, 70.2%)
CIE-LABlab(16.03, 30.78, -3.80)
CIE-LCHlch(16.03, 31.01, 352.97°)
OKLaboklab(28.86% 0.0943 -0.0096)
OKLCHoklch(28.86% 0.095 354.2)
XYZxyz(3.6591, 2.1048, 2.7978)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C102E #104C2E
analogous
#4C104C #4C102E #4C1010
triadic
#4C102E #2E4C10 #102E4C
tetradic
#4C102E #4C4C10 #104C2E #10104C
square
#4C102E #4C4C10 #104C2E #10104C
split-complementary
#4C102E #104C10 #104C4C
monochromatic
#19050F #19050F #4C102E #7F1B4D #B1256B

Accessibility & contrast

On white

14.78
#4C102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C102E
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C102E#FFFFFF#000000##FFFFFF
##4C102E1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B212F
Deuteranopia (green-blind)
#2C2C2D
Tritanopia (blue-blind)
#530B1D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c102e;
/* rgb */ color: rgb(76, 16, 46);
/* oklch */ color: oklch(28.9% 0.095 354.2);
Tailwind
colors: {
  custom: {
    50: '#815466',
    500: '#4c102e',
    950: '#000000',
  },
}
SCSS
$custom: #4c102e;
$custom-light: #815466;
$custom-dark: #000000;
JSON
{
  "hex": "#4c102e",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 330,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28859,
    "c": 0.0948,
    "h": 354.2
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#4C102E
secondary
#32865C
accent
#E89440
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C102E

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

Preview Lab → · Contrast checker → · Palette generator →

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