#4B0C1F#4B0C1F

#4B0C1F is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.7% C 0.093 H 8.2°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#4B0C1F
RGBrgb(75, 12, 31)
HSLhsl(342, 72%, 17%)
HSVhsv(342, 84%, 29%)
CMYKcmyk(0%, 84%, 58.7%, 70.6%)
CIE-LABlab(14.72, 30.36, 5.22)
CIE-LCHlch(14.72, 30.81, 9.76°)
OKLaboklab(27.69% 0.0924 0.0134)
OKLCHoklch(27.69% 0.093 8.2)
XYZxyz(3.2807, 1.8582, 1.4820)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C1F #0C4B38
analogous
#4B0C3F #4B0C1F #4B190C
triadic
#4B0C1F #1F4B0C #0C1F4B
tetradic
#4B0C1F #3F4B0C #0C4B38 #190C4B
square
#4B0C1F #3F4B0C #0C4B38 #190C4B
split-complementary
#4B0C1F #0C4B19 #0C3F4B
monochromatic
#1A040B #1A040B #4B0C1F #801435 #B51D4B

Accessibility & contrast

On white

15.31
#4B0C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#4B0C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C1F
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C1F#FFFFFF#000000##FFFFFF
##4B0C1F1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D1F
Deuteranopia (green-blind)
#2D2A1D
Tritanopia (blue-blind)
#530014
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4b0c1f;
/* rgb */ color: rgb(75, 12, 31);
/* oklch */ color: oklch(27.7% 0.093 8.2);
Tailwind
colors: {
  custom: {
    50: '#82525a',
    500: '#4b0c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c1f;
$custom-light: #82525a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c1f",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 341.905,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2769,
    "c": 0.09338,
    "h": 8.2
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#4B0C1F
secondary
#2C876B
accent
#EFB839
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4B0C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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