#4C0F3F#4C0F3F

#4C0F3F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.6% C 0.108 H 338.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#4C0F3F
RGBrgb(76, 15, 63)
HSLhsl(313, 67%, 18%)
HSVhsv(313, 80%, 30%)
CMYKcmyk(0%, 80.3%, 17.1%, 70.2%)
CIE-LABlab(16.69, 33.73, -14.88)
CIE-LCHlch(16.69, 36.86, 336.19°)
OKLaboklab(29.6% 0.0997 -0.0404)
OKLCHoklch(29.6% 0.108 338)
XYZxyz(4.0486, 2.2374, 4.9203)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F3F #0F4C1C
analogous
#3A0F4C #4C0F3F #4C0F20
triadic
#4C0F3F #3F4C0F #0F3F4C
tetradic
#4C0F3F #4C3A0F #0F4C1C #0F204C
square
#4C0F3F #4C3A0F #0F4C1C #0F204C
split-complementary
#4C0F3F #204C0F #0F4C3A
monochromatic
#1A0515 #1A0515 #4C0F3F #7F1969 #B22394

Accessibility & contrast

On white

14.51
#4C0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4C0F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F3F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F3F#FFFFFF#000000##FFFFFF
##4C0F3F1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122340
Deuteranopia (green-blind)
#262D3E
Tritanopia (blue-blind)
#511225
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0f3f;
/* rgb */ color: rgb(76, 15, 63);
/* oklch */ color: oklch(29.6% 0.108 338.0);
Tailwind
colors: {
  custom: {
    50: '#815474',
    500: '#4c0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f3f;
$custom-light: #815474;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f3f",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 312.787,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29602,
    "c": 0.10759,
    "h": 338
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#4C0F3F
secondary
#318643
accent
#EA633E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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