#4C102D#4C102D

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

Color values

HEX#4C102D
RGBrgb(76, 16, 45)
HSLhsl(331, 65%, 18%)
HSVhsv(331, 79%, 30%)
CMYKcmyk(0%, 78.9%, 40.8%, 70.2%)
CIE-LABlab(15.99, 30.65, -3.14)
CIE-LCHlch(15.99, 30.81, 354.16°)
OKLaboklab(28.82% 0.094 -0.0079)
OKLCHoklch(28.82% 0.094 355.2)
XYZxyz(3.6397, 2.0970, 2.6952)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C102D #104C2F
analogous
#4C104B #4C102D #4C1110
triadic
#4C102D #2D4C10 #102D4C
tetradic
#4C102D #4B4C10 #104C2F #11104C
square
#4C102D #4B4C10 #104C2F #11104C
split-complementary
#4C102D #104C11 #104B4C
monochromatic
#19050F #19050F #4C102D #7F1B4B #B12569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C102D#FFFFFF#000000##FFFFFF
##4C102D1.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)
#1B212E
Deuteranopia (green-blind)
#2C2C2C
Tritanopia (blue-blind)
#530A1C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c102d;
/* rgb */ color: rgb(76, 16, 45);
/* oklch */ color: oklch(28.8% 0.094 355.2);
Tailwind
colors: {
  custom: {
    50: '#815465',
    500: '#4c102d',
    950: '#000000',
  },
}
SCSS
$custom: #4c102d;
$custom-light: #815465;
$custom-dark: #000000;
JSON
{
  "hex": "#4c102d",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 331,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28817,
    "c": 0.0943,
    "h": 355.2
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#4C102D
secondary
#32865D
accent
#E89740
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4C102D

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

Preview Lab → · Contrast checker → · Palette generator →

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