#4C1B2D#4C1B2D

#4C1B2D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.077 H 359.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4C1B2D
RGBrgb(76, 27, 45)
HSLhsl(338, 48%, 20%)
HSVhsv(338, 64%, 30%)
CMYKcmyk(0%, 64.5%, 40.8%, 70.2%)
CIE-LABlab(17.96, 25.26, -0.22)
CIE-LCHlch(17.96, 25.26, 359.50°)
OKLaboklab(30.28% 0.077 -0.0003)
OKLCHoklch(30.28% 0.077 359.8)
XYZxyz(3.8463, 2.5102, 2.7641)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1B2D #1B4C3A
analogous
#4C1B45 #4C1B2D #4C211B
triadic
#4C1B2D #2D4C1B #1B2D4C
tetradic
#4C1B2D #454C1B #1B4C3A #211B4C
square
#4C1B2D #454C1B #1B4C3A #211B4C
split-complementary
#4C1B2D #1B4C21 #1B454C
monochromatic
#17080D #1F0B12 #4C1B2D #792B48 #A63B62

Accessibility & contrast

On white

13.98
#4C1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4C1B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1B2D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1B2D#FFFFFF#000000##FFFFFF
##4C1B2D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262E
Deuteranopia (green-blind)
#302F2C
Tritanopia (blue-blind)
#521722
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c1b2d;
/* rgb */ color: rgb(76, 27, 45);
/* oklch */ color: oklch(30.3% 0.077 359.8);
Tailwind
colors: {
  custom: {
    50: '#815a65',
    500: '#4c1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #4c1b2d;
$custom-light: #815a65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1b2d",
  "rgb": {
    "r": 76,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 337.959,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.07702,
    "h": 359.8
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#4C1B2D
secondary
#41826A
accent
#D7A651
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0405
muted
#7C797A

Preview Lab

Preview with #4C1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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