#4C102F#4C102F

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

Color values

HEX#4C102F
RGBrgb(76, 16, 47)
HSLhsl(329, 65%, 18%)
HSVhsv(329, 79%, 30%)
CMYKcmyk(0%, 78.9%, 38.2%, 70.2%)
CIE-LABlab(16.07, 30.91, -4.46)
CIE-LCHlch(16.07, 31.23, 351.79°)
OKLaboklab(28.9% 0.0947 -0.0114)
OKLCHoklch(28.9% 0.095 353.1)
XYZxyz(3.6791, 2.1127, 2.9028)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C102F #104C2D
analogous
#4B104C #4C102F #4C1011
triadic
#4C102F #2F4C10 #102F4C
tetradic
#4C102F #4C4B10 #104C2D #10114C
square
#4C102F #4C4B10 #104C2D #10114C
split-complementary
#4C102F #114C10 #104C4B
monochromatic
#190510 #190510 #4C102F #7F1B4E #B1256E

Accessibility & contrast

On white

14.76
#4C102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C102F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C102F#FFFFFF#000000##FFFFFF
##4C102F1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2130
Deuteranopia (green-blind)
#2B2C2E
Tritanopia (blue-blind)
#520B1D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c102f;
/* rgb */ color: rgb(76, 16, 47);
/* oklch */ color: oklch(28.9% 0.095 353.1);
Tailwind
colors: {
  custom: {
    50: '#815467',
    500: '#4c102f',
    950: '#000000',
  },
}
SCSS
$custom: #4c102f;
$custom-light: #815467;
$custom-dark: #000000;
JSON
{
  "hex": "#4c102f",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 329,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28902,
    "c": 0.09534,
    "h": 353.1
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#4C102F
secondary
#32865B
accent
#E89140
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C102F

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

Preview Lab → · Contrast checker → · Palette generator →

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