#4C0F2A#4C0F2A

#4C0F2A is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.6% C 0.094 H 358.1°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4C0F2A
RGBrgb(76, 15, 42)
HSLhsl(333, 67%, 18%)
HSVhsv(333, 80%, 30%)
CMYKcmyk(0%, 80.3%, 44.7%, 70.2%)
CIE-LABlab(15.73, 30.69, -1.35)
CIE-LCHlch(15.73, 30.72, 357.48°)
OKLaboklab(28.59% 0.0942 -0.0032)
OKLCHoklch(28.59% 0.094 358.1)
XYZxyz(3.5695, 2.0458, 2.3969)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F2A #0F4C31
analogous
#4C0F48 #4C0F2A #4C130F
triadic
#4C0F2A #2A4C0F #0F2A4C
tetradic
#4C0F2A #484C0F #0F4C31 #130F4C
square
#4C0F2A #484C0F #0F4C31 #130F4C
split-complementary
#4C0F2A #0F4C13 #0F484C
monochromatic
#1A050E #1A050E #4C0F2A #7F1946 #B22362

Accessibility & contrast

On white

14.90
#4C0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4C0F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F2A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F2A#FFFFFF#000000##FFFFFF
##4C0F2A1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202B
Deuteranopia (green-blind)
#2C2B29
Tritanopia (blue-blind)
#53071B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0f2a;
/* rgb */ color: rgb(76, 15, 42);
/* oklch */ color: oklch(28.6% 0.094 358.1);
Tailwind
colors: {
  custom: {
    50: '#815463',
    500: '#4c0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f2a;
$custom-light: #815463;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f2a",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 333.443,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28586,
    "c": 0.09424,
    "h": 358.1
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#4C0F2A
secondary
#318660
accent
#EA9E3E
background
#F8F5F5
surface
#EFE8EA
border
#CAC4C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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