#4C0F2F#4C0F2F

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

Color values

HEX#4C0F2F
RGBrgb(76, 15, 47)
HSLhsl(329, 67%, 18%)
HSVhsv(329, 80%, 30%)
CMYKcmyk(0%, 80.3%, 38.2%, 70.2%)
CIE-LABlab(15.92, 31.32, -4.68)
CIE-LCHlch(15.92, 31.67, 351.51°)
OKLaboklab(28.79% 0.0959 -0.012)
OKLCHoklch(28.79% 0.097 352.9)
XYZxyz(3.6646, 2.0838, 2.8980)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F2F #0F4C2C
analogous
#4A0F4C #4C0F2F #4C0F10
triadic
#4C0F2F #2F4C0F #0F2F4C
tetradic
#4C0F2F #4C4A0F #0F4C2C #0F104C
square
#4C0F2F #4C4A0F #0F4C2C #0F104C
split-complementary
#4C0F2F #104C0F #0F4C4A
monochromatic
#1A0510 #1A0510 #4C0F2F #7F194F #B2236E

Accessibility & contrast

On white

14.82
#4C0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F2F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F2F#FFFFFF#000000##FFFFFF
##4C0F2F1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0f2f;
/* rgb */ color: rgb(76, 15, 47);
/* oklch */ color: oklch(28.8% 0.097 352.9);
Tailwind
colors: {
  custom: {
    50: '#815467',
    500: '#4c0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f2f;
$custom-light: #815467;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f2f",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 328.525,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28794,
    "c": 0.0967,
    "h": 352.9
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#4C0F2F
secondary
#318659
accent
#EA903E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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