#4C0F30#4C0F30

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

Color values

HEX#4C0F30
RGBrgb(76, 15, 48)
HSLhsl(328, 67%, 18%)
HSVhsv(328, 80%, 30%)
CMYKcmyk(0%, 80.3%, 36.8%, 70.2%)
CIE-LABlab(15.96, 31.46, -5.34)
CIE-LCHlch(15.96, 31.91, 350.37°)
OKLaboklab(28.84% 0.0963 -0.0138)
OKLCHoklch(28.84% 0.097 351.9)
XYZxyz(3.6850, 2.0920, 3.0055)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F30 #0F4C2B
analogous
#490F4C #4C0F30 #4C0F11
triadic
#4C0F30 #304C0F #0F304C
tetradic
#4C0F30 #4C490F #0F4C2B #0F114C
square
#4C0F30 #4C490F #0F4C2B #0F114C
split-complementary
#4C0F30 #114C0F #0F4C49
monochromatic
#1A0510 #1A0510 #4C0F30 #7F1950 #B22371

Accessibility & contrast

On white

14.81
#4C0F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F30
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F30#FFFFFF#000000##FFFFFF
##4C0F301.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192131
Deuteranopia (green-blind)
#2B2C2F
Tritanopia (blue-blind)
#520A1D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0f30;
/* rgb */ color: rgb(76, 15, 48);
/* oklch */ color: oklch(28.8% 0.097 351.9);
Tailwind
colors: {
  custom: {
    50: '#815468',
    500: '#4c0f30',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f30;
$custom-light: #815468;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f30",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 327.541,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28838,
    "c": 0.09725,
    "h": 351.9
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#4C0F30
secondary
#318658
accent
#EA8D3E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0F30

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

Preview Lab → · Contrast checker → · Palette generator →

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