#4C0F2B#4C0F2B

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

Color values

HEX#4C0F2B
RGBrgb(76, 15, 43)
HSLhsl(332, 67%, 18%)
HSVhsv(332, 80%, 30%)
CMYKcmyk(0%, 80.3%, 43.4%, 70.2%)
CIE-LABlab(15.76, 30.81, -2.02)
CIE-LCHlch(15.76, 30.88, 356.24°)
OKLaboklab(28.63% 0.0946 -0.0049)
OKLCHoklch(28.63% 0.095 357)
XYZxyz(3.5876, 2.0530, 2.4924)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F2B #0F4C30
analogous
#4C0F49 #4C0F2B #4C110F
triadic
#4C0F2B #2B4C0F #0F2B4C
tetradic
#4C0F2B #494C0F #0F4C30 #110F4C
square
#4C0F2B #494C0F #0F4C30 #110F4C
split-complementary
#4C0F2B #0F4C11 #0F494C
monochromatic
#1A050E #1A050E #4C0F2B #7F1948 #B22365

Accessibility & contrast

On white

14.89
#4C0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F2B
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F2B#FFFFFF#000000##FFFFFF
##4C0F2B1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202C
Deuteranopia (green-blind)
#2C2B2A
Tritanopia (blue-blind)
#53081B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0f2b;
/* rgb */ color: rgb(76, 15, 43);
/* oklch */ color: oklch(28.6% 0.095 357.0);
Tailwind
colors: {
  custom: {
    50: '#815464',
    500: '#4c0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f2b;
$custom-light: #815464;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f2b",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 332.459,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.09469,
    "h": 357
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#4C0F2B
secondary
#31865F
accent
#EA9B3E
background
#F8F5F5
surface
#EFE8EA
border
#CAC4C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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